Project

General

Profile

Actions

Bug #20417

closed

RubyVM::AbstractSyntaxTree.parse warns about block local variables

Added by kddnewton (Kevin Newton) 7 months ago. Updated 7 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:117477]

Description

$ ./ruby -c -w -e '->(; foo) {}'
Syntax OK
$ ./ruby -w -e 'RubyVM::AbstractSyntaxTree.parse("->(; foo) {}")'
(none):1: warning: assigned but unused variable - foo
Actions

Also available in: Atom PDF

Like0
Like0