[前][次][番号順一覧][スレッド一覧]

ruby-changes:47565

From: ko1 <ko1@a...>
Date: Tue, 29 Aug 2017 16:01:32 +0900 (JST)
Subject: [ruby-changes:47565] ko1:r59681 (trunk): fix error message.

ko1	2017-08-29 16:01:27 +0900 (Tue, 29 Aug 2017)

  New Revision: 59681

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59681

  Log:
    fix error message.

  Modified files:
    trunk/proc.c
Index: proc.c
===================================================================
--- proc.c	(revision 59680)
+++ proc.c	(revision 59681)
@@ -500,7 +500,7 @@ bind_local_variable_get(VALUE bindval, V https://github.com/ruby/ruby/blob/trunk/proc.c#L500
     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);
     }
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]