ruby-changes:50043
From: nobu <ko1@a...>
Date: Fri, 2 Feb 2018 22:29:31 +0900 (JST)
Subject: [ruby-changes:50043] nobu:r62161 (trunk): variable.c: removed old warning
nobu 2018-02-02 22:29:23 +0900 (Fri, 02 Feb 2018) New Revision: 62161 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62161 Log: variable.c: removed old warning Modified files: trunk/variable.c Index: variable.c =================================================================== --- variable.c (revision 62160) +++ variable.c (revision 62161) @@ -2260,12 +2260,7 @@ rb_const_search(VALUE klass, ID id, int https://github.com/ruby/ruby/blob/trunk/variable.c#L2260 continue; } if (exclude && tmp == rb_cObject && klass != rb_cObject) { -#if 0 - rb_warn("toplevel constant %"PRIsVALUE" referenced by %"PRIsVALUE"::%"PRIsVALUE"", - QUOTE_ID(id), rb_class_name(klass), QUOTE_ID(id)); -#else return Qundef; -#endif } return value; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/