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

ruby-changes:33310

From: nobu <ko1@a...>
Date: Sun, 23 Mar 2014 11:05:56 +0900 (JST)
Subject: [ruby-changes:33310] nobu:r45389 (trunk): vm_method.c fix commit miss

nobu	2014-03-23 11:05:52 +0900 (Sun, 23 Mar 2014)

  New Revision: 45389

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45389

  Log:
    vm_method.c fix commit miss
    
    * vm_method.c (rb_method_entry_get_without_cache): fix commit miss.
      remove extra !.  [Bug #9663]

  Modified files:
    trunk/vm_method.c
Index: vm_method.c
===================================================================
--- vm_method.c	(revision 45388)
+++ vm_method.c	(revision 45389)
@@ -578,7 +578,7 @@ rb_method_entry_get_without_cache(VALUE https://github.com/ruby/ruby/blob/trunk/vm_method.c#L578
     VALUE defined_class;
     rb_method_entry_t *me = search_method(klass, id, &defined_class);
 
-    if (me && !me->klass) {
+    if (me && me->klass) {
 	switch (BUILTIN_TYPE(me->klass)) {
 	  case T_CLASS:
 	    if (RBASIC(klass)->flags & FL_SINGLETON) break;

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

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