Actions
Bug #20417
closedRubyVM::AbstractSyntaxTree.parse warns about block local variables
Description
$ ./ruby -c -w -e '->(; foo) {}'
Syntax OK
$ ./ruby -w -e 'RubyVM::AbstractSyntaxTree.parse("->(; foo) {}")'
(none):1: warning: assigned but unused variable - foo
Updated by nobu (Nobuyoshi Nakada) 9 months ago
- Status changed from Open to Closed
Applied in changeset git|207788466eedfdefcf09fdc5c6217547b5ce4ed1.
[Bug #20417] Block local variables do not need to warn about unused
Actions
Like0
Like0