playground
playground copied to clipboard
Error when using an invalid predicate
When I put the following query in the query editor with linting enabled, then change "#match?" to "#mtch?", I get a lua error (see screenshot). I would expect this to give a graceful lint error of invalid predicate.
(function_definition
(parameters
(typed_parameter
(type
(subscript
(identifier) @value (#match? @value "^List|Mapping$")
(identifier)? @subscript)))))
