From ee64345a3774eaecee5ddec8648390e86450eec8 Mon Sep 17 00:00:00 2001 From: Kasper Kondzielski Date: Fri, 28 Apr 2023 00:24:35 +0200 Subject: fix: Correct scope definition for scala `@scope` included `function_declaration` while is should have included `function_definition` instead. The former one is used to declare abstract functions while the latter one is used to define functions together with their bodies. --- queries/scala/locals.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/scala/locals.scm b/queries/scala/locals.scm index 928d7e723..dc19c7aa4 100644 --- a/queries/scala/locals.scm +++ b/queries/scala/locals.scm @@ -3,7 +3,7 @@ [ (template_body) (lambda_expression) - (function_declaration) + (function_definition) (block) ] @scope -- cgit v1.2.3-70-g09d2