You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 Grit plugin: Unexpected node argument with call_expression #6427
To the best of my understanding of GritQL, this should find all CallExpressions (AST type), and if the name of the called function starts with an upperCase letter, register the diagnostic.
Expected result
What I get instead is Compile Error: ParsePatternError(ParseDiagnostic { span: Some(16..27), message: Unexpected node argument., advice: ParserAdvice { advice_list: [Hint("Node arguments must be patterns, optionally preceeded by a name and an equal sign.")] } }).
If I understand it correctly it complains about function=$f. I tried other variations, like just $f, 0=$f or $0, but they produce Compile Error: FunctionArgument(UnknownArgument { name: "call_expression", argument: "0", valid_args: ["0", "2", "3"] }). At this point I don't think I'm doing it wrong, and that it's a bug.
Activity
[-]🐛 Grit plugin: Unexpected node argument[/-][+]🐛 Grit plugin: Unexpected node argument with call_expression[/+]Update dependency @biomejs/biome to v2.5.12 (#21)
Update dependency @biomejs/biome to v2.5.12 (#43)