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
Updated by mame (Yusuke Endoh) 7 months ago
- Assignee set to kddnewton (Kevin Newton)
Updated by kddnewton (Kevin Newton) 7 months ago
Thank you — I have opened https://github.com/ruby/prism/pull/3096 to fix this.
Updated by kddnewton (Kevin Newton) 7 months ago
- Status changed from Open to Closed
Actions
Like0
Like0Like0Like0