Project

General

Profile

Actions

Bug #20735

closed

prism emits "ambiguous `&`" warning

Added by mame (Yusuke Endoh) 2 months ago. Updated 2 months ago.

Status:
Closed
Target version:
-
[ruby-core:119161]

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
Actions #2

Updated by kddnewton (Kevin Newton) 2 months ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0