File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
testsuite/ada_lsp/Did_Rename_Files.context_corruption Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -855,12 +855,13 @@ package body LSP.Ada_Handlers.Project_Loading is
855
855
Project_Tree : in out GPR2.Project.Tree.Object;
856
856
Success : out Boolean)
857
857
is
858
- Project : GPR2.Project.Tree.View_Builder.Object :=
858
+ Project : GPR2.Project.Tree.View_Builder.Object :=
859
859
GPR2.Project.Tree.View_Builder.Create
860
860
(Project_Dir => GPR2.Path_Name.Create_Directory (" ." ),
861
861
Name => Name);
862
- Values : GPR2.Containers.Value_List;
863
- Opts : GPR2.Options.Object;
862
+ Values : GPR2.Containers.Value_List;
863
+ Opts : GPR2.Options.Object;
864
+ Reporter : GPR2_Reporter;
864
865
begin
865
866
Project_Tree.Unload;
866
867
-- Load all the dirs
@@ -878,7 +879,8 @@ package body LSP.Ada_Handlers.Project_Loading is
878
879
(Project,
879
880
Opts,
880
881
With_Runtime => True,
881
- Absent_Dir_Error => GPR2.No_Error);
882
+ Absent_Dir_Error => GPR2.No_Error,
883
+ Reporter => Reporter);
882
884
883
885
if Success then
884
886
Project_Tree.Update_Sources;
Original file line number Diff line number Diff line change 684
684
}
685
685
},
686
686
"alsKind" : [" reference" ]
687
+ },
688
+ {
689
+ "uri" : " $URI{main.adb}" ,
690
+ "range" : {
691
+ "start" : {
692
+ "line" : 4 ,
693
+ "character" : 12
694
+ },
695
+ "end" : {
696
+ "line" : 4 ,
697
+ "character" : 13
698
+ }
699
+ },
700
+ "alsKind" : [" call" ]
687
701
}
688
702
]
689
703
}
You can’t perform that action at this time.
0 commit comments