Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With respect to the queries: The locals scope for functions was not large enough, so a function's parameter could outlive the function body. To fix it, we just widen the scope to the `function` node. See also gleam-lang/tree-sitter-gleam#25 With respect to the parser: An external scanner has been added that fixes the parsing of strings. Previously, a comment inside a string would act like a comment rather than string contents. See also gleam-lang/tree-sitter-gleam#14 (comment)
- Loading branch information