aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--array.c2
-rw-r--r--class.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 424a88e214..e2e4406282 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Oct 9 23:05:53 2016 Prathamesh Sonpatki <csonpatki@gmail.com>
+
+ * array.c, class.c: Fixed documentation where Fixnum was referred
+ directly to use Integer, as Fixnum and Bignum are now unified
+ into Integer and direct usage is deprecated. [Fix GH-1459]
+
Sun Oct 9 11:37:19 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_core.h (VM_ASSERT): stringify expr here before expansion in
diff --git a/array.c b/array.c
index c742c4fc70..476b1c4d66 100644
--- a/array.c
+++ b/array.c
@@ -5716,7 +5716,7 @@ rb_ary_dig(int argc, VALUE *argv, VALUE self)
*
*
* Array#sum method may not respect method redefinition of "+" methods
- * such as Fixnum#+.
+ * such as Integer#+.
*
*/
diff --git a/class.c b/class.c
index ce2ede5c2b..8a3a708686 100644
--- a/class.c
+++ b/class.c
@@ -1645,7 +1645,7 @@ rb_singleton_class_get(VALUE obj)
* Returns the singleton class of \a obj. Creates it if necessary.
*
* \param obj an arbitrary object.
- * \throw TypeError if \a obj is a Fixnum or a Symbol.
+ * \throw TypeError if \a obj is a Integer or a Symbol.
* \return the singleton class.
*
* \post \a obj has its own singleton class.