resolve conflict

parent 5568df5e
...@@ -1737,7 +1737,7 @@ mrb_mod_remove_const(mrb_state *mrb, mrb_value mod) ...@@ -1737,7 +1737,7 @@ mrb_mod_remove_const(mrb_state *mrb, mrb_value mod)
check_const_name(mrb, id); check_const_name(mrb, id);
val = mrb_iv_remove(mrb, mod, id); val = mrb_iv_remove(mrb, mod, id);
if (mrb_undef_p(val)) { if (mrb_undef_p(val)) {
mrb_name_error(mrb, sym, "constant %s not defined", mrb_sym2name(mrb, sym)); mrb_name_error(mrb, id, "constant %s not defined", mrb_sym2name(mrb, id));
} }
return val; return val;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment