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

ruby-changes:65124

From: Nobuyoshi <ko1@a...>
Date: Wed, 3 Feb 2021 13:42:40 +0900 (JST)
Subject: [ruby-changes:65124] ea47a9506a (master): Adjusted indent [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=ea47a9506a

From ea47a9506a06e8bdcf64b7356f9ccd265bae7ce4 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 3 Feb 2021 13:39:53 +0900
Subject: Adjusted indent [ci skip]

---
 vm_method.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vm_method.c b/vm_method.c
index 45285e0..4833ff6 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1892,9 +1892,9 @@ rb_hash_method_definition(st_index_t hash, const rb_method_definition_t *def) https://github.com/ruby/ruby/blob/trunk/vm_method.c#L1892
       case VM_METHOD_TYPE_REFINED:
       case VM_METHOD_TYPE_ALIAS:
 	break; /* unreachable */
-	}
-	rb_bug("rb_hash_method_definition: unsupported method type (%d)\n", def->type);
     }
+    rb_bug("rb_hash_method_definition: unsupported method type (%d)\n", def->type);
+}
 
 st_index_t
 rb_hash_method_entry(st_index_t hash, const rb_method_entry_t *me)
-- 
cgit v1.1


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

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