
28 Sep
2024
28 Sep
'24
6:02 a.m.
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/