Bug #21043
closed
Prism defined? has slight deviations from parse.y
Added by kddnewton (Kevin Newton) 3 months ago.
Updated 2 months ago.
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.
- Status changed from Open to Closed
- Related to Bug #21118: Calling defined?(it) segfaults added
- Backport changed from 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: REQUIRED to 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED, 3.4: REQUIRED
- Backport changed from 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED, 3.4: REQUIRED to 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED, 3.4: DONE
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0