Open augmented-fog opened 4 months ago
This one is weird. This expression:
(parameter/dictionary_splat_pattern (_) @name) @param)
applied to the CST above, matches as follows:
@name
= dictionary_splat_pattern
@param
= typed_parameter
But @name
should be matching the identifier
node instead.
Making the syntax node type explicit corrects the problem.
The following input causes the Python TSG to fail.
Input
CST
Error
Suggested mitigation