From: Aaron Patterson Date: 2011-06-10T02:10:52+09:00 Subject: [ruby-core:36893] [Ruby 1.9 - Bug #4859][Open] Debug output in 1.8 vs 1.9 Issue #4859 has been reported by Aaron Patterson. ---------------------------------------- Bug #4859: Debug output in 1.8 vs 1.9 http://redmine.ruby-lang.org/issues/4859 Author: Aaron Patterson Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.7.0] This code emits warnings in debug mode in 1.9 but does not in 1.8: $-d = true class Foo def method_missing(method, *args, &block) super end end [[Foo.new]].flatten In 1.8, there is no output, but in 1.9 it says: Exception `NoMethodError' at warn.rb:5 - undefined method `to_ary' for # -- http://redmine.ruby-lang.org