Skip to content

Commit 9f37bf4

Browse files
Merge branch 'topic/W228-019.redundant_parentheses' into 'master'
W228-019: Fix redundant parentheses See merge request eng/ide/ada_language_server!1153
2 parents ddfec14 + 0a5baf9 commit 9f37bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ada/lsp-ada_highlighters.adb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ package body LSP.Ada_Highlighters is
746746
Name : constant Libadalang.Analysis.Defining_Name :=
747747
Node.As_Basic_Decl.P_Defining_Name;
748748
begin
749-
return (not Name.Is_Null) and then Name.P_Is_Ghost_Code;
749+
return not Name.Is_Null and then Name.P_Is_Ghost_Code;
750750
end;
751751
when Libadalang.Common.Ada_Aspect_Spec =>
752752
-- Mark all aspects as a ghost code, because most of aspects

0 commit comments

Comments
 (0)