Project

General

Profile

Actions

Bug #21043

closed

Prism defined? has slight deviations from parse.y

Added by kddnewton (Kevin Newton) 3 months ago. Updated 2 months 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.


Related issues 1 (0 open1 closed)

Related to Ruby - Bug #21118: Calling defined?(it) segfaultsClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0