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

ruby-changes:56158

From: git <ko1@a...>
Date: Thu, 20 Jun 2019 04:07:45 +0900 (JST)
Subject: [ruby-changes:56158] git: fdfe51d169 (trunk): * expand tabs.

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

From fdfe51d16984b80fe782cb434bba7aeb629c279f Mon Sep 17 00:00:00 2001
From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Thu, 20 Jun 2019 04:07:31 +0900
Subject: * expand tabs.


diff --git a/complex.c b/complex.c
index db94797..848d3ac 100644
--- a/complex.c
+++ b/complex.c
@@ -1064,7 +1064,7 @@ nucomp_coerce(VALUE self, VALUE other) https://github.com/ruby/ruby/blob/trunk/complex.c#L1064
     if (RB_TYPE_P(other, T_COMPLEX))
 	return rb_assoc_new(other, self);
     if (k_numeric_p(other) && f_real_p(other))
-	return rb_assoc_new(f_complex_new_bang1(CLASS_OF(self), other), self);
+        return rb_assoc_new(f_complex_new_bang1(CLASS_OF(self), other), self);
 
     rb_raise(rb_eTypeError, "%"PRIsVALUE" can't be coerced into %"PRIsVALUE,
 	     rb_obj_class(other), rb_obj_class(self));
-- 
cgit v0.10.2


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

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