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

ruby-changes:26288

From: nobu <ko1@a...>
Date: Wed, 12 Dec 2012 16:06:25 +0900 (JST)
Subject: [ruby-changes:26288] nobu:r38339 (trunk): proc.c: move misplaced case

nobu	2012-12-12 16:06:14 +0900 (Wed, 12 Dec 2012)

  New Revision: 38339

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

  Log:
    proc.c: move misplaced case
    
    * proc.c (rb_method_entry_arity): move misplaced case added at r38236.

  Modified files:
    trunk/proc.c

Index: proc.c
===================================================================
--- proc.c	(revision 38338)
+++ proc.c	(revision 38339)
@@ -1683,9 +1683,9 @@ rb_method_entry_arity(const rb_method_en https://github.com/ruby/ruby/blob/trunk/proc.c#L1683
 	  default:
 	    break;
 	}
+      }
       case VM_METHOD_TYPE_REFINED:
 	return -1;
-      }
     }
     rb_bug("rb_method_entry_arity: invalid method entry type (%d)", def->type);
 

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

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