Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #562 from skandhas/pr-fix-lost-const-variable-in-B…
Browse files Browse the repository at this point in the history
…asicObject

fix lost const variable in class BasicObject
  • Loading branch information
matz committed Nov 20, 2012
2 parents 1b2257c + 44f240f commit 4eee5ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/class.c
Expand Up @@ -1400,6 +1400,7 @@ mrb_init_class(mrb_state *mrb)
make_metaclass(mrb, cls);

/* 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));
Expand Down

0 comments on commit 4eee5ff

Please sign in to comment.