Skip to content

Fix nil range in hcl diagnostic#80

Open
awilkins wants to merge 3 commits into
juliosueiras:masterfrom
awilkins:fix/nil-range-in-hcl-diagnostic
Open

Fix nil range in hcl diagnostic#80
awilkins wants to merge 3 commits into
juliosueiras:masterfrom
awilkins:fix/nil-range-in-hcl-diagnostic

Conversation

@awilkins

Copy link
Copy Markdown
Contributor

HCL diagnostic objects may have nil source ranges

I've presumed this is when they apply to a whole file and set a source range of 0, 0, hopefully this suffices unless LSP has a "whole file" indicator it can use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant