Project

General

Profile

Actions

Bug #20765

closed

Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE evaluating `a=>*,`

Added by tompng (tomoya ishida) 7 months ago. Updated 7 months ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 3.4.0dev (2024-09-27T17:45:22Z master 027ef60500) +PRISM [x86_64-linux]
[ruby-core:119329]

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)
Actions #3

Updated by kddnewton (Kevin Newton) 7 months ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0