Hi,
In message "[ruby-talk:21200] strange warnings from the parser?"
on 01/09/15, Paul Brannan <pbrannan / atdesk.com> writes:
|1) Why do I get this warning?
Because Ruby suppose [] should return value (without any side-effect),
and you discard the result from [].
|2) Is this a bug?
Well, might be. At least this warning is too noisy.
|3) Is there a workaround until this can be fixed (or if it will be fixed)?
1.7.1 does not report this. So I can say it is already fixed.
matz.