*fixed a wrong assertion issue.
This commit is contained in:
parent
db71eb0c65
commit
815f52f4ce
@ -3196,7 +3196,7 @@ static bool_t _is_expression_terminal(mb_interpreter_t* s, _object_t* obj) {
|
|||||||
|
|
||||||
static bool_t _is_unexpected_calc_type(mb_interpreter_t* s, _object_t* obj) {
|
static bool_t _is_unexpected_calc_type(mb_interpreter_t* s, _object_t* obj) {
|
||||||
/* Determine whether an object is an unexpected calculation result */
|
/* Determine whether an object is an unexpected calculation result */
|
||||||
mb_assert(s && obj);
|
mb_assert(s);
|
||||||
|
|
||||||
return !obj || (
|
return !obj || (
|
||||||
(obj->type == _DT_FUNC) ||
|
(obj->type == _DT_FUNC) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user