Closed smackesey closed 2 years ago
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)))))
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.