diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-06 07:00:19 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-06 07:00:19 +0000 |
commit | 9537e8ffe5b7a0e6a2a791e1886509dc98b6d3f9 (patch) | |
tree | 4dc30bb86d4131f70c137831c116771783e5fc5b /class.c | |
parent | 3dd941b234ab6df52f72bb32e401f6669ef972c7 (diff) |
* internal.h, class.c, eval.c, insns.def: find the appropriate
receiver for super called in instance_eval. If such a receiver is
not found, raise NoMethodError. [ruby-dev:39772] [Bug #2402]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ class_alloc(VALUE flags, VALUE klass) RCLASS_SUPER(obj) = 0; RCLASS_ORIGIN(obj) = (VALUE)obj; RCLASS_IV_INDEX_TBL(obj) = 0; + RCLASS_REFINED_CLASS(obj) = Qnil; return (VALUE)obj; } |