[ruby-core:120712] [Ruby master Bug#21043] Prism defined? has slight deviations from parse.y

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/

Issue #21043 has been updated by k0kubun (Takashi Kokubun). Backporting commit:d492cfdaadf9e936217e80e0899809313ff4b3d5 to `ruby_3_4` causes a conflict. ---------------------------------------- Bug #21043: Prism defined? has slight deviations from parse.y https://bugs.ruby-lang.org/issues/21043#change-111939 * Author: kddnewton (Kevin Newton) * Status: Closed * Assignee: prism * Backport: 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED, 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/

Issue #21043 has been updated by k0kubun (Takashi Kokubun). 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 commit:eaa26b8c8c8de09daddbef131837a008963399dc. ---------------------------------------- Bug #21043: Prism defined? has slight deviations from parse.y https://bugs.ruby-lang.org/issues/21043#change-111971 * Author: kddnewton (Kevin Newton) * Status: Closed * Assignee: prism * Backport: 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED, 3.4: DONE ---------------------------------------- ```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/
participants (2)
-
k0kubun (Takashi Kokubun)
-
kddnewton (Kevin Newton)