Commit 3b2ff614 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

!= should call == inside; close #268

parent b775bc77
...@@ -191,7 +191,7 @@ mrb_obj_not_equal_m(mrb_state *mrb, mrb_value self) ...@@ -191,7 +191,7 @@ mrb_obj_not_equal_m(mrb_state *mrb, mrb_value self)
mrb_value arg; mrb_value arg;
mrb_get_args(mrb, "o", &arg); mrb_get_args(mrb, "o", &arg);
if (mrb_obj_equal(mrb, self, arg)) { if (mrb_equal(mrb, self, arg)) {
return mrb_false_value(); return mrb_false_value();
} }
else { else {
......
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