Enumerating an unknown datatype does not raise an error automatically anymore.
[GB.JIT] * BUG: Enumerating an unknown datatype does not raise an error automatically anymore.
This commit is contained in:
parent
988546ad28
commit
cfb4a9d2a8
2 changed files with 2 additions and 2 deletions
|
@ -3078,7 +3078,7 @@ _ENUM_FIRST:
|
|||
|
||||
index = GET_XX() - func->n_local;
|
||||
type = get_type(-1);
|
||||
if (!TYPE_is_object(type))
|
||||
if (!TYPE_is_object(type) && type != T_UNKNOWN)
|
||||
{
|
||||
JIT_print(" THROW(E_NOBJECT);\n");
|
||||
pop_stack(1);
|
||||
|
|
Loading…
Reference in a new issue