Skip to content

Commit aa9b344

Browse files
committed
V805-014 Fixing NULL in symbols diff
1 parent 289528f commit aa9b344

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

source/ada/lsp-lal_utils.adb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1879,7 +1879,7 @@ package body LSP.Lal_Utils is
18791879

18801880
if Span.first.line /= Span.last.line then
18811881
Slice.Append
1882-
(Line.Slice (J1.Marker, Line.After_Last_Character.Marker));
1882+
(Line.Slice (J1.Marker, Line.At_Last_Character.Marker));
18831883
end if;
18841884

18851885
loop

testsuite/ada_lsp/V628-024.symbol_diff/test.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -201,19 +201,6 @@
201201
},
202202
"newText": " "
203203
},
204-
{
205-
"range": {
206-
"start": {
207-
"line": 9,
208-
"character": 0
209-
},
210-
"end": {
211-
"line": 9,
212-
"character": 0
213-
}
214-
},
215-
"newText": "\u0000"
216-
},
217204
{
218205
"range": {
219206
"start": {

0 commit comments

Comments
 (0)