* [ruby-core:123383] [Ruby Bug#21623] Endless method definition without parenthesis is wrongly accepted in Prism
@ 2025-10-03 15:35 tompng (tomoya ishida) via ruby-core
2025-10-03 15:40 ` [ruby-core:123384] " alanwu (Alan Wu) via ruby-core
2025-10-08 12:56 ` [ruby-core:123432] " Earlopain (Earlopain _) via ruby-core
0 siblings, 2 replies; 3+ messages in thread
From: tompng (tomoya ishida) via ruby-core @ 2025-10-03 15:35 UTC (permalink / raw)
To: ruby-core; +Cc: tompng (tomoya ishida)
Issue #21623 has been reported by tompng (tomoya ishida).
----------------------------------------
Bug #21623: Endless method definition without parenthesis is wrongly accepted in Prism
https://bugs.ruby-lang.org/issues/21623
* Author: tompng (tomoya ishida)
* Status: Open
* ruby -v: ruby 3.5.0dev (2025-10-02T03:48:32Z master 88222caaa9) +PRISM [x86_64-linux]
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
These are syntax error in parse.y but accepted in Prism
~~~ruby
def f x: = 1
def f ... = 1
def f * = 1
def f ** = 1
def f & = 1
def f *a = 1
def f **a = 1
def f &a = 1
~~~
--
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:123384] [Ruby Bug#21623] Endless method definition without parenthesis is wrongly accepted in Prism
2025-10-03 15:35 [ruby-core:123383] [Ruby Bug#21623] Endless method definition without parenthesis is wrongly accepted in Prism tompng (tomoya ishida) via ruby-core
@ 2025-10-03 15:40 ` alanwu (Alan Wu) via ruby-core
2025-10-08 12:56 ` [ruby-core:123432] " Earlopain (Earlopain _) via ruby-core
1 sibling, 0 replies; 3+ messages in thread
From: alanwu (Alan Wu) via ruby-core @ 2025-10-03 15:40 UTC (permalink / raw)
To: ruby-core; +Cc: alanwu (Alan Wu)
Issue #21623 has been updated by alanwu (Alan Wu).
Assignee set to prism
----------------------------------------
Bug #21623: Endless method definition without parenthesis is wrongly accepted in Prism
https://bugs.ruby-lang.org/issues/21623#change-114755
* Author: tompng (tomoya ishida)
* Status: Open
* Assignee: prism
* ruby -v: ruby 3.5.0dev (2025-10-02T03:48:32Z master 88222caaa9) +PRISM [x86_64-linux]
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
These are syntax error in parse.y but accepted in Prism
~~~ruby
def f x: = 1
def f ... = 1
def f * = 1
def f ** = 1
def f & = 1
def f *a = 1
def f **a = 1
def f &a = 1
~~~
--
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:123432] [Ruby Bug#21623] Endless method definition without parenthesis is wrongly accepted in Prism
2025-10-03 15:35 [ruby-core:123383] [Ruby Bug#21623] Endless method definition without parenthesis is wrongly accepted in Prism tompng (tomoya ishida) via ruby-core
2025-10-03 15:40 ` [ruby-core:123384] " alanwu (Alan Wu) via ruby-core
@ 2025-10-08 12:56 ` Earlopain (Earlopain _) via ruby-core
1 sibling, 0 replies; 3+ messages in thread
From: Earlopain (Earlopain _) via ruby-core @ 2025-10-08 12:56 UTC (permalink / raw)
To: ruby-core; +Cc: Earlopain (Earlopain _)
Issue #21623 has been updated by Earlopain (Earlopain _).
Attempt at https://github.com/ruby/prism/pull/3674
----------------------------------------
Bug #21623: Endless method definition without parenthesis is wrongly accepted in Prism
https://bugs.ruby-lang.org/issues/21623#change-114802
* Author: tompng (tomoya ishida)
* Status: Open
* Assignee: prism
* ruby -v: ruby 3.5.0dev (2025-10-02T03:48:32Z master 88222caaa9) +PRISM [x86_64-linux]
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
These are syntax error in parse.y but accepted in Prism
~~~ruby
def f x: = 1
def f ... = 1
def f * = 1
def f ** = 1
def f & = 1
def f *a = 1
def f **a = 1
def f &a = 1
~~~
--
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-10-08 12:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-03 15:35 [ruby-core:123383] [Ruby Bug#21623] Endless method definition without parenthesis is wrongly accepted in Prism tompng (tomoya ishida) via ruby-core
2025-10-03 15:40 ` [ruby-core:123384] " alanwu (Alan Wu) via ruby-core
2025-10-08 12:56 ` [ruby-core:123432] " Earlopain (Earlopain _) 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).