Skip to content

Commit

Permalink
Fix ECMA method function return (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahdinosaur committed Sep 1, 2023
1 parent 02c6836 commit 0d57c5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions after/queries/ecma/matchup.scm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
(arrow_function "=>" @open.function)
(function "function" @open.function)
(function_declaration "function" @open.function)
(method_definition body: (statement_block "{" @open.function))
] @scope.function

(return_statement "return" @mid.function.1)
Expand Down

0 comments on commit 0d57c5c

Please sign in to comment.