diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-17 14:53:32 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-17 14:53:32 +0000 |
commit | 86d46b5459cda15a616e29934b1ddfe4ec788735 (patch) | |
tree | 05d1686530f384f51a55a8b301e60637d3438280 /test/ruby/test_parse.rb | |
parent | 10b7e0e4adc7c2beb13b30a53ac2bdc03ab50d22 (diff) |
* vm_method.c (rb_alias): should raise TypeError if klass is nil.
1.instance_eval { alias to_string to_s } causes SEGV before this
fix.
* test/ruby/test_alias.rb (test_special_const_alias): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_parse.rb')
0 files changed, 0 insertions, 0 deletions