Bug #1240: parser bug in 1.8.7 and 1.9.1p0
http://redmine.ruby-lang.org/issues/show/1240

Author: Thomer Gil
Status: Open, Priority: Normal
Category: core
ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]

# ruby parser accepts first line, not the second.
x y { "#{}".z { } }
x y { "#{}".z do end }


----------------------------------------
http://redmine.ruby-lang.org