ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:120712] [Ruby master Bug#21043] Prism defined? has slight deviations from parse.y
@ 2025-01-16  1:34 kddnewton (Kevin Newton) via ruby-core
  2025-02-14  5:16 ` [ruby-core:121031] " k0kubun (Takashi Kokubun) via ruby-core
  2025-02-14 18:28 ` [ruby-core:121057] " k0kubun (Takashi Kokubun) via ruby-core
  0 siblings, 2 replies; 3+ messages in thread
From: kddnewton (Kevin Newton) via ruby-core @ 2025-01-16  1:34 UTC (permalink / raw)
  To: ruby-core; +Cc: kddnewton (Kevin Newton)

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/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:121031] [Ruby master Bug#21043] Prism defined? has slight deviations from parse.y
  2025-01-16  1:34 [ruby-core:120712] [Ruby master Bug#21043] Prism defined? has slight deviations from parse.y kddnewton (Kevin Newton) via ruby-core
@ 2025-02-14  5:16 ` k0kubun (Takashi Kokubun) via ruby-core
  2025-02-14 18:28 ` [ruby-core:121057] " k0kubun (Takashi Kokubun) via ruby-core
  1 sibling, 0 replies; 3+ messages in thread
From: k0kubun (Takashi Kokubun) via ruby-core @ 2025-02-14  5:16 UTC (permalink / raw)
  To: ruby-core; +Cc: k0kubun (Takashi Kokubun)

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/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:121057] [Ruby master Bug#21043] Prism defined? has slight deviations from parse.y
  2025-01-16  1:34 [ruby-core:120712] [Ruby master Bug#21043] Prism defined? has slight deviations from parse.y kddnewton (Kevin Newton) via ruby-core
  2025-02-14  5:16 ` [ruby-core:121031] " k0kubun (Takashi Kokubun) via ruby-core
@ 2025-02-14 18:28 ` k0kubun (Takashi Kokubun) via ruby-core
  1 sibling, 0 replies; 3+ messages in thread
From: k0kubun (Takashi Kokubun) via ruby-core @ 2025-02-14 18:28 UTC (permalink / raw)
  To: ruby-core; +Cc: k0kubun (Takashi Kokubun)

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/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-14 18:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-16  1:34 [ruby-core:120712] [Ruby master Bug#21043] Prism defined? has slight deviations from parse.y kddnewton (Kevin Newton) via ruby-core
2025-02-14  5:16 ` [ruby-core:121031] " k0kubun (Takashi Kokubun) via ruby-core
2025-02-14 18:28 ` [ruby-core:121057] " k0kubun (Takashi Kokubun) via ruby-core

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).