From fee7d48517cbf14b6ddc35ee584393fa9e6d90cd Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 19 Sep 2014 22:55:59 +0000 Subject: vm_eval.c: fix super from eval with scope * vm_eval.c (eval_string_with_cref): fix super from eval with scope. set klass in the current control frame to the class of the receiver in the context to be evaluated, this class/module must match the actual receiver to call super. [ruby-core:65122] [Bug #10263] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 6d36467371..014ab35799 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Sat Sep 20 07:55:57 2014 Nobuyoshi Nakada + + * vm_eval.c (eval_string_with_cref): fix super from eval with + scope. set klass in the current control frame to the class of + the receiver in the context to be evaluated, this class/module + must match the actual receiver to call super. + [ruby-core:65122] [Bug #10263] + Fri Sep 19 20:06:00 2014 Nobuyoshi Nakada * symbol.c (rb_str_dynamic_intern): check if the stem ID of -- cgit v1.2.3