Skip to content

Commit 8183c05

Browse files
committed
add tag v2_4_0_preview1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v2_4_0_preview1@55466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2 parents 598fa59 + 76e8beb commit 8183c05

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

NEWS

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,12 @@ with all sufficient information, see the ChangeLog file or Redmine
121121
For example, 0 is an instance of Integer: 0.class returns Integer.
122122
The constants Fixnum and Bignum is bound to Integer.
123123
So obj.kind_of?(Fixnum) works as obj.kind_of?(Integer).
124-
At C-level, rb_cFixnum and rb_cBignum is same as rb_cInteger.
125-
So, class based dispatch, such as klass == rb_cFixnum and
126-
klass == rb_cBignum, should be changed to FIXNUM_P(obj) and
127-
RB_TYPE_P(obj, T_BIGNUM).
124+
At C-level, Fixnum object and Bignum object should be distinguished by
125+
FIXNUM_P(obj) and RB_TYPE_P(obj, T_BIGNUM).
126+
ruby-2.4.0-preview1 (temporally) removes rb_cFixnum and rb_cBignum
127+
to check the effect of incompatibility.
128+
(rb_cFixnum and rb_cBignum may be defined as rb_cInteger later if
129+
compilation failure of extension library is too big problem.)
128130

129131
* String/Symbol#upcase/downcase/swapcase/capitalize(!) now work for all of
130132
Unicode, not only for ASCII. [Feature #10085]

0 commit comments

Comments
 (0)