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

ruby-changes:55857

From: git <ko1@a...>
Date: Mon, 27 May 2019 03:10:28 +0900 (JST)
Subject: [ruby-changes:55857] git: 5a6c77bbe8 (trunk): * expand tabs.

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

From 5a6c77bbe8acd5929421c359bca57ef559a4f0fe Mon Sep 17 00:00:00 2001
From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Mon, 27 May 2019 03:10:15 +0900
Subject: * expand tabs.


diff --git a/error.c b/error.c
index 039999c..98b8c78 100644
--- a/error.c
+++ b/error.c
@@ -1415,8 +1415,8 @@ frozen_err_initialize(int argc, VALUE *argv, VALUE self) https://github.com/ruby/ruby/blob/trunk/error.c#L1415
 
     argc = rb_scan_args(argc, argv, "02", &mesg, &recv);
     if (argc > 1) {
-	argc--;
-	rb_ivar_set(self, id_recv, recv);
+        argc--;
+        rb_ivar_set(self, id_recv, recv);
     }
     rb_call_super(argc, argv);
     return self;
@@ -2897,13 +2897,13 @@ rb_error_frozen_object(VALUE frozen_obj) https://github.com/ruby/ruby/blob/trunk/error.c#L2897
 	VALUE path = rb_ary_entry(debug_info, 0);
 	VALUE line = rb_ary_entry(debug_info, 1);
 
-	rb_frozen_error_raise(frozen_obj,
-	    "can't modify frozen %"PRIsVALUE", created at %"PRIsVALUE":%"PRIsVALUE,
-	    CLASS_OF(frozen_obj), path, line);
+        rb_frozen_error_raise(frozen_obj,
+            "can't modify frozen %"PRIsVALUE", created at %"PRIsVALUE":%"PRIsVALUE,
+            CLASS_OF(frozen_obj), path, line);
     }
     else {
-	rb_frozen_error_raise(frozen_obj, "can't modify frozen %"PRIsVALUE,
-	    CLASS_OF(frozen_obj));
+        rb_frozen_error_raise(frozen_obj, "can't modify frozen %"PRIsVALUE,
+            CLASS_OF(frozen_obj));
     }
 }
 
diff --git a/eval.c b/eval.c
index e778d07..b964380 100644
--- a/eval.c
+++ b/eval.c
@@ -454,7 +454,7 @@ rb_class_modify_check(VALUE klass) https://github.com/ruby/ruby/blob/trunk/eval.c#L454
 		goto noclass;
 	    }
 	}
-	rb_frozen_error_raise(klass, "can't modify frozen %s", desc);
+        rb_frozen_error_raise(klass, "can't modify frozen %s", desc);
     }
 }
 
diff --git a/thread.c b/thread.c
index d4f33a2..bfe741c 100644
--- a/thread.c
+++ b/thread.c
@@ -3325,7 +3325,7 @@ VALUE https://github.com/ruby/ruby/blob/trunk/thread.c#L3325
 rb_thread_local_aset(VALUE thread, ID id, VALUE val)
 {
     if (OBJ_FROZEN(thread)) {
-	rb_frozen_error_raise(thread, "can't modify frozen thread locals");
+        rb_frozen_error_raise(thread, "can't modify frozen thread locals");
     }
 
     return threadptr_local_aset(rb_thread_ptr(thread), id, val);
@@ -3402,7 +3402,7 @@ rb_thread_variable_set(VALUE thread, VALUE id, VALUE val) https://github.com/ruby/ruby/blob/trunk/thread.c#L3402
     VALUE locals;
 
     if (OBJ_FROZEN(thread)) {
-	rb_frozen_error_raise(thread, "can't modify frozen thread locals");
+        rb_frozen_error_raise(thread, "can't modify frozen thread locals");
     }
 
     locals = rb_ivar_get(thread, id_locals);
-- 
cgit v0.10.2


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

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