Skip to content

Allow for more valid method calls with block arguments#291

Open
jketema wants to merge 4 commits intotree-sitter:masterfrom
jketema:block-argument
Open

Allow for more valid method calls with block arguments#291
jketema wants to merge 4 commits intotree-sitter:masterfrom
jketema:block-argument

Conversation

@jketema
Copy link
Copy Markdown

@jketema jketema commented Apr 20, 2026

Support specific cases where a block argument is not followed by an identifier. This uses the approach suggested in #218.

I used version 14 of the ABI when regenerating the parser files. I'm not sure if this was strictly necessary, but this matched what was there.

Fixes: #218
Fixes: #244
Fixes: #290

@jketema jketema marked this pull request as ready for review April 20, 2026 15:12
@jketema
Copy link
Copy Markdown
Author

jketema commented Apr 28, 2026

@amaanq @WillLillis Could one of you review this? We often see the issue fixed here reported in CodeQL, so this would help us.

@JLLeitschuh
Copy link
Copy Markdown

Just ran into this for us in our CodeQL use case as well

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

Labels

None yet

Projects

None yet

2 participants