Closed iliabylich closed 8 months ago
Closes https://github.com/whitequark/parser/issues/921.
We already reject duplicate variable in pattern-matching like 0 => [a, *a] and bugs are not back-ported to previous versions of parser, so this PR only includes tests.
0 => [a, *a]
Closes https://github.com/whitequark/parser/issues/921.
We already reject duplicate variable in pattern-matching like
0 => [a, *a]
and bugs are not back-ported to previous versions of parser, so this PR only includes tests.