File tree Expand file tree Collapse file tree 3 files changed +5
-23
lines changed Expand file tree Collapse file tree 3 files changed +5
-23
lines changed Original file line number Diff line number Diff line change
1
+ Sun Jun 8 04:18:50 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2
+
3
+ * object.c (nil_plus): remove unused function. [ruby-core:13737]
4
+
1
5
Sun Jun 8 04:15:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
2
6
3
7
* eval.c (rb_alias): do not call hook functions until initialization
Original file line number Diff line number Diff line change @@ -812,28 +812,6 @@ nil_inspect(obj)
812
812
return rb_str_new2 ("nil" );
813
813
}
814
814
815
- #ifdef NIL_PLUS
816
- static VALUE
817
- nil_plus (x , y )
818
- VALUE x , y ;
819
- {
820
- switch (TYPE (y )) {
821
- case T_NIL :
822
- case T_FIXNUM :
823
- case T_FLOAT :
824
- case T_BIGNUM :
825
- case T_STRING :
826
- case T_ARRAY :
827
- return y ;
828
- default :
829
- rb_raise (rb_eTypeError , "tried to add %s(%s) to nil" ,
830
- RSTRING (rb_inspect (y ))-> ptr ,
831
- rb_obj_classname (y ));
832
- }
833
- /* not reached */
834
- }
835
- #endif
836
-
837
815
static VALUE
838
816
main_to_s (obj )
839
817
VALUE obj ;
Original file line number Diff line number Diff line change 2
2
#define RUBY_RELEASE_DATE "2008-06-08"
3
3
#define RUBY_VERSION_CODE 185
4
4
#define RUBY_RELEASE_CODE 20080608
5
- #define RUBY_PATCHLEVEL 150
5
+ #define RUBY_PATCHLEVEL 151
6
6
7
7
#define RUBY_VERSION_MAJOR 1
8
8
#define RUBY_VERSION_MINOR 8
You can’t perform that action at this time.
0 commit comments