*fixed a returning issue after calling a function for a referenced usertype.
This commit is contained in:
parent
dedc7129e9
commit
523c82b3fd
@ -3848,6 +3848,10 @@ _routine:
|
|||||||
if(fn) fn = fn->prev;
|
if(fn) fn = fn->prev;
|
||||||
if(_try_call_func_on_usertype_ref(s, &fn, c, cs, 0)) {
|
if(_try_call_func_on_usertype_ref(s, &fn, c, cs, 0)) {
|
||||||
ast = fn;
|
ast = fn;
|
||||||
|
c = _create_object();
|
||||||
|
_ls_pushback(garbage, c);
|
||||||
|
_public_value_to_internal_object(&running->intermediate_value, c);
|
||||||
|
_REF(c)
|
||||||
} else {
|
} else {
|
||||||
#else /* MB_ENABLE_USERTYPE_REF */
|
#else /* MB_ENABLE_USERTYPE_REF */
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user