From 91486538f447fc6240defcc1b262b6b9bb95d5c2 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 28 Oct 2015 06:36:13 +0000 Subject: error.c: receiver in NameError * error.c (rb_name_err_new): store the receiver directly. * error.c (name_err_receiver): return directly stored receiver. [Feature #10881] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'variable.c') diff --git a/variable.c b/variable.c index 97c0932e34..7f3b777f6e 100644 --- a/variable.c +++ b/variable.c @@ -1224,7 +1224,7 @@ gen_ivtbl_count(const struct gen_ivtbl *ivtbl) return n; } -static VALUE +VALUE rb_ivar_lookup(VALUE obj, ID id, VALUE undef) { VALUE val, *ptr; -- cgit v1.2.3