Actions
Bug #20735
closedprism emits "ambiguous `&`" warning
Description
$ ./local/bin/ruby -w --parser=parse.y -e 'def foo(&) = nil; foo &:bar'
$ ./local/bin/ruby -w --parser=prism -e 'def foo(&) = nil; foo &:bar'
-e:1: warning: ambiguous `&` has been interpreted as an argument prefix
Updated by kddnewton (Kevin Newton) 3 months ago
I have opened https://github.com/ruby/ruby/pull/11622 to fix this.
Updated by kddnewton (Kevin Newton) 3 months ago
- Status changed from Open to Closed
Actions
Like0
Like0Like0