Project

General

Profile

Actions

Bug #21043

closed

Prism defined? has slight deviations from parse.y

Added by kddnewton (Kevin Newton) about 11 hours ago. Updated about 10 hours ago.

Status:
Closed
Assignee:
Target version:
-
[ruby-core:120712]

Description

defined?((alias foo bar))
defined?((undef foo))
def foo(*) = defined?(foo(*))
def foo(**) = defined?(foo(**))
def foo(...) = defined?(foo(...))
def foo(&) = defined?(foo(&))

and a couple others have slightly different behavior.

Actions

Also available in: Atom PDF

Like0
Like0