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

ruby-changes:61729

From: Nobuyoshi <ko1@a...>
Date: Tue, 16 Jun 2020 00:29:52 +0900 (JST)
Subject: [ruby-changes:61729] e384707296 (master): Updated builtin type names

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

From e38470729672f589417f4843c508bc46c60a5238 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 16 Jun 2020 00:26:17 +0900
Subject: Updated builtin type names

Fixnum and Bignum have been unified to Integer already.

diff --git a/error.c b/error.c
index 553f9c7..e3d9974 100644
--- a/error.c
+++ b/error.c
@@ -753,7 +753,7 @@ static const char builtin_types[][10] = { https://github.com/ruby/ruby/blob/trunk/error.c#L753
     "Array",
     "Hash",
     "Struct",
-    "Bignum",
+    "Integer",
     "File",
     "Data",			/* internal use: wrapped C pointers */
     "MatchData",		/* data of $~ */
@@ -764,7 +764,7 @@ static const char builtin_types[][10] = { https://github.com/ruby/ruby/blob/trunk/error.c#L764
     "true",
     "false",
     "Symbol",			/* :symbol */
-    "Fixnum",
+    "Integer",
     "undef",			/* internal use: #undef; should not happen */
     "",				/* 0x17 */
     "",				/* 0x18 */
-- 
cgit v0.10.2


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

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