Skip to content

Conversation

@doorgan
Copy link

@doorgan doorgan commented Jan 17, 2026

Fixes #26 and supercedes part of #56
Also handles a bunch of extra edge cases.

The main problem in #56 was that it checks the tokens before advancing the parser, causing it to parse foo(a: 1, b) as valid. This PR reports an error like Elixir would and keeps parsing.

Also, this PR is more permisive with __cursor__(), so foo(a: 1, __cursor__()) produces no error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: failed to parse a bracketed keyword list

1 participant