Skip to content

Commit c0adee9

Browse files
Merge branch 'topic/gs.572.ignore_new_warning' into 'master'
Ignore new GNAT Warning See merge request eng/ide/ada_language_server!2111
2 parents f4fc045 + 295c20a commit c0adee9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/ada/lsp-ada_documents.adb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ with LSP.Formatters.Texts;
5555
with LSP.GNATFormat_Utils;
5656
with LSP.Predicates;
5757
with LSP.Structures.LSPAny_Vectors;
58+
pragma Warnings
59+
(Off, "child unit * hides compilation unit with the same name");
5860
with LSP.Utils;
61+
pragma Warnings (On, "child unit * hides compilation unit with the same name");
5962

6063
package body LSP.Ada_Documents is
6164
pragma Warnings (Off);

0 commit comments

Comments
 (0)