Actions
Bug #20765
closedUnexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE evaluating `a=>*,`
ruby -v:
ruby 3.4.0dev (2024-09-27T17:45:22Z master 027ef60500) +PRISM [x86_64-linux]
Description
# ruby --parser=prism -e "a=>*,"
-e: [BUG] Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE
# ruby --parser=parse.y -e "a=>*,"
-e:1: syntax error, unexpected end-of-input
Actions
Like0
Like0Like0Like0