[ruby-core:119329] [Ruby master Bug#20765] Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE evaluating `a=>*,`

Issue #20765 has been reported by tompng (tomoya ishida). ---------------------------------------- Bug #20765: Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE evaluating `a=>*,` https://bugs.ruby-lang.org/issues/20765 * Author: tompng (tomoya ishida) * Status: Open * ruby -v: ruby 3.4.0dev (2024-09-27T17:45:22Z master 027ef60500) +PRISM [x86_64-linux] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- ~~~ # 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 ~~~ -- https://bugs.ruby-lang.org/

Issue #20765 has been updated by mame (Yusuke Endoh). Assignee set to kddnewton (Kevin Newton) ---------------------------------------- Bug #20765: Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE evaluating `a=>*,` https://bugs.ruby-lang.org/issues/20765#change-109963 * Author: tompng (tomoya ishida) * Status: Open * Assignee: kddnewton (Kevin Newton) * ruby -v: ruby 3.4.0dev (2024-09-27T17:45:22Z master 027ef60500) +PRISM [x86_64-linux] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- ~~~ # 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 ~~~ -- https://bugs.ruby-lang.org/

Issue #20765 has been updated by kddnewton (Kevin Newton). Thank you — I have opened https://github.com/ruby/prism/pull/3096 to fix this. ---------------------------------------- Bug #20765: Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE evaluating `a=>*,` https://bugs.ruby-lang.org/issues/20765#change-109975 * Author: tompng (tomoya ishida) * Status: Open * Assignee: kddnewton (Kevin Newton) * ruby -v: ruby 3.4.0dev (2024-09-27T17:45:22Z master 027ef60500) +PRISM [x86_64-linux] * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- ~~~ # 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 ~~~ -- https://bugs.ruby-lang.org/
participants (3)
-
kddnewton (Kevin Newton)
-
mame (Yusuke Endoh)
-
tompng (tomoya ishida)