Backport #3601
Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago
=begin $ cat 191_bug.rb def hello class << self yield end end p hello { 123 } Works in 1.8.7 and 1.9.2. Fails in 1.9.1 (and JRuby + Rubinius). =end
Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago
=begin $ cat 191_bug.rb def hello class << self yield end end p hello { 123 } Works in 1.8.7 and 1.9.2. Fails in 1.9.1 (and JRuby + Rubinius). =end