Skip to content

Commit 20a7f97

Browse files
authored
Nullable range and location (#7)
* Set range and location as nullable * Update haxerc to version used by Haxe LSP (previous is too old for lix to resolve)
1 parent 280498b commit 20a7f97

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.haxerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "b7fce0e",
2+
"version": "e30a2fd",
33
"resolveLibs": "scoped"
44
}

src/languageServerProtocol/Types.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ typedef DiagnosticRelatedInformation = {
226226
/**
227227
The location of this related diagnostic information.
228228
**/
229-
var location:Location;
229+
var ?location:Location;
230230

231231
/**
232232
The message of this related diagnostic information.
@@ -301,7 +301,7 @@ typedef Diagnostic = {
301301
/**
302302
The range at which the message applies
303303
**/
304-
var range:Range;
304+
var ?range:Range;
305305

306306
/**
307307
The diagnostic's severity.

0 commit comments

Comments
 (0)