Commit 4b2b7cec authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

runtime: RT_BINARY_OP_EXCEPTION_MATCH: don't fall thru in case of wrong types.

parent 16734200
......@@ -551,6 +551,8 @@ mp_obj_t rt_binary_op(int op, mp_obj_t lhs, mp_obj_t rhs) {
return mp_const_false;
}
}
assert(0);
return mp_const_false;
}
if (MP_OBJ_IS_SMALL_INT(lhs)) {
......
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