Actions
Bug #8140
closedIncorrect warning: `+' after local variable is interpreted as binary operator
Description
The statement:
puts '' +''
generates an invalid warning when executed with "ruby -w" which (a) implies a syntactical ambiguity where there is none, and (b) refers to a "local variable" of which there are none.
Note that:
puts ''+''
and:
puts '' + ''
produce no warnings.
Files
Actions
Like0
Like0Like0