From a81daa68337f3aab6c616e7a377bf71bcbfb8cc3 Mon Sep 17 00:00:00 2001 From: yugui Date: Sun, 16 May 2010 03:07:45 +0000 Subject: merges r27716 from trunk into ruby_1_9_2. -- * vm_eval.c (eval_string_with_cref): propagative filename and line_no of binding. [ruby-dev:38767] [ruby-core:28307] * vm_core.h (rb_binding_t), proc.c: add filename and line_no fields to preserve them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_eval.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstraptest') diff --git a/bootstraptest/test_eval.rb b/bootstraptest/test_eval.rb index c5ab95302b..9ae50a6d30 100644 --- a/bootstraptest/test_eval.rb +++ b/bootstraptest/test_eval.rb @@ -287,7 +287,7 @@ assert_normal_exit %q{ eval("", method(:proc).call {}.binding) } -assert_equal "(eval):1:in `block in
': ", %q{ +assert_equal "", %q{ b = binding 10.times{ eval('', b) -- cgit v1.2.3