diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-09-09 23:08:14 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-09-09 23:14:07 +0900 |
| commit | a1a838d96667131571cc10999ff33dcb79d62627 (patch) | |
| tree | 10557792b5f25cf0e0aee68151741173a8b74453 /src | |
| parent | 6b157397baf2cfb3ec41dff30b3bb79436fbc85b (diff) | |
| download | mruby-a1a838d96667131571cc10999ff33dcb79d62627.tar.gz mruby-a1a838d96667131571cc10999ff33dcb79d62627.zip | |
Remove duplication of `BasicObject` constant; fix #4698
Diffstat (limited to 'src')
| -rw-r--r-- | src/class.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c index 05746c4d1..a551c73f6 100644 --- a/src/class.c +++ b/src/class.c @@ -2180,7 +2180,6 @@ mrb_init_class(mrb_state *mrb) /* name basic classes */ mrb_define_const(mrb, bob, "BasicObject", mrb_obj_value(bob)); - mrb_define_const(mrb, obj, "BasicObject", mrb_obj_value(bob)); mrb_define_const(mrb, obj, "Object", mrb_obj_value(obj)); mrb_define_const(mrb, obj, "Module", mrb_obj_value(mod)); mrb_define_const(mrb, obj, "Class", mrb_obj_value(cls)); |
