From a0b6702ecdfaa0c6c8f090af9ea9f81a8e89dae3 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Thu, 19 Dec 2024 23:51:56 +0100 Subject: [PATCH] Tune whitespace in code sample for rule OTHERS_In_Aggregates --- lkql_checker/doc/generated/predefined_rules.rst | 2 +- lkql_checker/share/lkql/others_in_aggregates.lkql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lkql_checker/doc/generated/predefined_rules.rst b/lkql_checker/doc/generated/predefined_rules.rst index 1df056c7f..b09f2dcb7 100644 --- a/lkql_checker/doc/generated/predefined_rules.rst +++ b/lkql_checker/doc/generated/predefined_rules.rst @@ -3623,7 +3623,7 @@ exactly one component; for example, ``(1..1 => 0, others => 1)``. end record; Arr_Var1 : Arr := (others => 1); - Arr_Var2 : Arr := (1 => 1, 2=> 2, others => 0); -- FLAG + Arr_Var2 : Arr := (1 => 1, 2 => 2, others => 0); -- FLAG Rec_Var1 : Rec := (C1 => 1, others => 0); Rec_Var2 : Rec := (1, 2, others => 3); -- FLAG diff --git a/lkql_checker/share/lkql/others_in_aggregates.lkql b/lkql_checker/share/lkql/others_in_aggregates.lkql index d8cfbbd26..db8fea830 100644 --- a/lkql_checker/share/lkql/others_in_aggregates.lkql +++ b/lkql_checker/share/lkql/others_in_aggregates.lkql @@ -37,7 +37,7 @@ fun others_in_aggregates(node) = |" end record; |" |" Arr_Var1 : Arr := (others => 1); - |" Arr_Var2 : Arr := (1 => 1, 2=> 2, others => 0); -- FLAG + |" Arr_Var2 : Arr := (1 => 1, 2 => 2, others => 0); -- FLAG |" |" Rec_Var1 : Rec := (C1 => 1, others => 0); |" Rec_Var2 : Rec := (1, 2, others => 3); -- FLAG