fix(grit): correct arrow_function slot indices for GritQL patterns#8793
fix(grit): correct arrow_function slot indices for GritQL patterns#8793ematipico merged 4 commits intobiomejs:mainfrom
arrow_function slot indices for GritQL patterns#8793Conversation
🦋 Changeset detectedLatest commit: 4fb6c61 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
arrow_function slot indices for GritQL patterns #8411
WalkthroughThis change adds an explicit Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
f3e9e06 to
61447e3
Compare
Co-authored-by: Carson McManus <dyc3@users.noreply.github.com>
arrow_function slot indices for GritQL patterns #8411arrow_function slot indices for GritQL patterns
AI disclosure
I used cursor agent and ai to explain how plugins get ran and how plugin tree sitter bindings work.
Summary
Add missing
parametersargument toarrow_functiontree-sitter mapping.Motivation
I ran into this issue while trying to write my own plugins.
Test Plan
Added test + snapshot files.
I also performed the following test
(pointed at build binary)
and received expected output vs
$ npx @biomejs/biome search 'arrow_function(parameters=$parameters, body=$body)' ./scratch.ts ✖ Error executing the Grit query