Actions
Bug #21043
closed
Prism defined? has slight deviations from parse.y
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.
Updated by kddnewton (Kevin Newton) about 1 month ago
- Status changed from Open to Closed
Applied in changeset git|d492cfdaadf9e936217e80e0899809313ff4b3d5.
Align defined? implementations between parsers (#12584)
Fixes [Bug #21043]
Updated by byroot (Jean Boussier) 16 days ago
- Related to Bug #21118: Calling defined?(it) segfaults added
Updated by byroot (Jean Boussier) 16 days ago
- 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
Updated by k0kubun (Takashi Kokubun) 8 days ago
Backporting d492cfdaadf9e936217e80e0899809313ff4b3d5 to ruby_3_4
causes a conflict.
Updated by k0kubun (Takashi Kokubun) 8 days ago
- 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
ruby_3_4 eaa26b8c8c8de09daddbef131837a008963399dc.
Actions
Like0
Like0Like0Like0Like0Like0