From 9c7aab17a54996b7320e7bc34230a1aab7f7a115 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 27 Nov 2007 01:47:34 +0000 Subject: * eval.c (rb_method_missing): fix stack trace. * bootstraptest/test_knownbug.rb: move solved tests. * bootstraptest/test_method.rb, test/ruby/test_regexp.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 2f6300bdb7..27da2b2104 100644 --- a/eval.c +++ b/eval.c @@ -1327,6 +1327,8 @@ rb_method_missing(int argc, const VALUE *argv, VALUE obj) args[n++] = rb_ary_new4(argc - 1, argv + 1); } exc = rb_class_new_instance(n, args, exc); + + th->cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(th->cfp); rb_exc_raise(exc); } -- cgit v1.2.3