From a4dda012abb4dc3214ca06f41e82d6be7358879a Mon Sep 17 00:00:00 2001 From: Romain Beguet Date: Tue, 26 Sep 2023 17:53:57 +0200 Subject: [PATCH] Add missing closing parenthesis in rule actual_parameters. --- lkql_checker/share/lkql/actual_parameters.lkql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lkql_checker/share/lkql/actual_parameters.lkql b/lkql_checker/share/lkql/actual_parameters.lkql index eb96daa48..04c22ef44 100644 --- a/lkql_checker/share/lkql/actual_parameters.lkql +++ b/lkql_checker/share/lkql/actual_parameters.lkql @@ -35,7 +35,7 @@ fun check_actual(name, expected) = @check(message="actual parameter mismatch", category="Style", subcategory="Programming Practice") fun actual_parameters(node, forbidden=[]) = - node is AssocList(parent is call@CallExpr(p_is_call() is true) + node is AssocList(parent is call@CallExpr(p_is_call() is true)) when { val n = call.f_name.p_referenced_decl()?. p_canonical_fully_qualified_name?();