Skip to content

Commit 0a7542d

Browse files
UA19-031: Make Generic_Vector."=" visible.
Also fix a test (the test was added at the same time as the new provider)
1 parent 1cc4533 commit 0a7542d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

source/protocol/lsp-generic_vectors.ads

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ package LSP.Generic_Vectors is
3131

3232
type Vector is new Element_Vectors.Vector with null record;
3333

34+
overriding function "=" (Left, Right : Vector) return Boolean is
35+
(Element_Vectors."="
36+
(Element_Vectors.Vector (Left),
37+
Element_Vectors.Vector (Right)));
38+
3439
procedure Read_Vector
3540
(S : access Ada.Streams.Root_Stream_Type'Class;
3641
V : out Vector);

testsuite/ada_lsp/completion.duplicates/test.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"als-other-file",
116116
"als-named-parameters",
117117
"als-refactor-imports",
118+
"als-refactor-add-parameters",
118119
"als-refactor-remove-parameters",
119120
"als-refactor-move-parameter",
120121
"als-refactor-change-parameter-mode",

0 commit comments

Comments
 (0)