ActionsLike0
Bug #10204
closedA little bit misleading warning message
Description
ruby -we "''.scan //"
warns "-e:1: warning: ambiguous first argument; put parentheses or even spaces".
Despite ruby indicates me to put spaces there, I actually couldn't stop ruby warning no matter how much spaces I put there.
% ruby -we "''.scan //"
-e:1: warning: ambiguous first argument; put parentheses or even spaces
Added by nobu (Nobuyoshi Nakada) over 10 years ago
ActionsLike0
parse.y: fix warning message
not mean the number of spaces here. state the place to put a
space and the operator. [ruby-core:64790] [Bug #10204]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e