From: "kddnewton (Kevin Newton) via ruby-core" Date: 2024-09-30T14:32:43+00:00 Subject: [ruby-core:119363] [Ruby master Bug#20765] Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE evaluating `a=>*,` 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/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/