Skip to content

fix: identifiers in collection expressions vs attributes with targets#4

Merged
maciejpirog merged 1 commit intoopengrep/mainfrom
fix-idents-in-collection-exprs-vs-attribute-targets
Jan 14, 2026
Merged

fix: identifiers in collection expressions vs attributes with targets#4
maciejpirog merged 1 commit intoopengrep/mainfrom
fix-idents-in-collection-exprs-vs-attribute-targets

Conversation

@maciejpirog
Copy link
Copy Markdown
Collaborator

Fix a bug (seems to be in the original tree-sitter parser):

The parser confused collection expression that started with an identifier similar to an attribute target, e.g., [type, ...] etc with attributes with targets [type: ...].

Loading
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.

2 participants