Actions
Bug #21623
open
Endless method definition without parenthesis is wrongly accepted in Prism
ruby -v:
ruby 3.5.0dev (2025-10-02T03:48:32Z master 88222caaa9) +PRISM [x86_64-linux]
Description
These are syntax error in parse.y but accepted in Prism
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
Actions
Like0
Like0