Project

General

Profile

Actions

Bug #21043

closed

Prism defined? has slight deviations from parse.y

Added by kddnewton (Kevin Newton) about 8 hours ago. Updated about 7 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 #1

Updated by kddnewton (Kevin Newton) about 7 hours ago

  • Status changed from Open to Closed

Applied in changeset git|d492cfdaadf9e936217e80e0899809313ff4b3d5.


Align defined? implementations between parsers (#12584)

Fixes [Bug #21043]

Actions

Also available in: Atom PDF

Like0
Like0