Skip to content

Commit 73fd852

Browse files
committed
Merge branch 'topic/tune-whitespace' into 'master'
Tune whitespace in code sample for rule OTHERS_In_Aggregates See merge request eng/libadalang/langkit-query-language!377
2 parents fdafe0c + a0b6702 commit 73fd852

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lkql_checker/doc/generated/predefined_rules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3623,7 +3623,7 @@ exactly one component; for example, ``(1..1 => 0, others => 1)``.
36233623
end record;
36243624
36253625
Arr_Var1 : Arr := (others => 1);
3626-
Arr_Var2 : Arr := (1 => 1, 2=> 2, others => 0); -- FLAG
3626+
Arr_Var2 : Arr := (1 => 1, 2 => 2, others => 0); -- FLAG
36273627
36283628
Rec_Var1 : Rec := (C1 => 1, others => 0);
36293629
Rec_Var2 : Rec := (1, 2, others => 3); -- FLAG

lkql_checker/share/lkql/others_in_aggregates.lkql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fun others_in_aggregates(node) =
3737
|" end record;
3838
|"
3939
|" Arr_Var1 : Arr := (others => 1);
40-
|" Arr_Var2 : Arr := (1 => 1, 2=> 2, others => 0); -- FLAG
40+
|" Arr_Var2 : Arr := (1 => 1, 2 => 2, others => 0); -- FLAG
4141
|"
4242
|" Rec_Var1 : Rec := (C1 => 1, others => 0);
4343
|" Rec_Var2 : Rec := (1, 2, others => 3); -- FLAG

0 commit comments

Comments
 (0)