aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_undef.rb
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-18 01:13:54 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-18 01:13:54 +0000
commit63c3b2d283a482b96b20fa8d78f3098786123a68 (patch)
tree28d6e85f2ff67358bad3577411c5cf1f6a828ca2 /test/ruby/test_undef.rb
parente43c0bde5323c9dcd27ba284c1bdc7f11fa313ac (diff)
downloadruby-63c3b2d283a482b96b20fa8d78f3098786123a68.tar.gz
* vm_method.c (rb_undef): should raise TypeError if klass is nil.
1.instance_eval { undef to_s } causes SEGV before this fix. * test/ruby/test_undef.rb: new tests for undef. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_undef.rb')
0 files changed, 0 insertions, 0 deletions