A little bit misleading warning message
ruby 2.2.0dev (2014-08-20 trunk 47225) [x86_64-darwin13]
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
Updated by nobu (Nobuyoshi Nakada) almost 8 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100