From 480c84e1afbe54d4b63da64d26fab2d39819557a Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 29 Aug 2017 07:01:27 +0000 Subject: [PATCH] fix error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc.c b/proc.c index b43e11f04a..f35994b111 100644 --- a/proc.c +++ b/proc.c @@ -500,7 +500,7 @@ bind_local_variable_get(VALUE bindval, VALUE sym) if ((ptr = get_local_variable_ptr(&env, lid)) == NULL) { sym = ID2SYM(lid); undefined: - rb_name_err_raise("local variable `%1$s' not defined for %2$s", + rb_name_err_raise("local variable `%1$s' is not defined for %2$s", bindval, sym); }