
16 Jan
2025
16 Jan
'25
1:34 a.m.
Issue #21043 has been reported by kddnewton (Kevin Newton). ---------------------------------------- Bug #21043: Prism defined? has slight deviations from parse.y https://bugs.ruby-lang.org/issues/21043 * Author: kddnewton (Kevin Newton) * Status: Open * Assignee: prism * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: REQUIRED ---------------------------------------- ```ruby 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. -- https://bugs.ruby-lang.org/