Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(grit): fix matching names in Grit queries #3792

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

arendjr
Copy link
Contributor

@arendjr arendjr commented Sep 5, 2024

Summary

Grit code snippets were not yet able to match JsName nodes due to a difference in our JS grammar and the TreeSitter grammer we ported from. This was resolved by adding a new context string that allows parsing snippets that match the JsName position.

Test Plan

Test case added.

@arendjr arendjr merged commit be6c6b5 into biomejs:main Sep 5, 2024
10 checks passed
@Conaclos Conaclos added the A-Changelog Area: changelog label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants