From: fennecdjay Date: Tue, 22 Nov 2022 16:29:54 +0000 (+0100) Subject: :art: remove unreachable statement in opem_object_dot X-Git-Tag: nightly~207^2~73 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a5f9701f2b048fa389397c7718b69caa9cf1e732;p=gwion.git :art: remove unreachable statement in opem_object_dot --- diff --git a/src/lib/object_op.c b/src/lib/object_op.c index b2a5c758..e46d8a23 100644 --- a/src/lib/object_op.c +++ b/src/lib/object_op.c @@ -291,7 +291,7 @@ OP_EMIT(opem_object_dot) { emit_struct_data(emit, value, exp_getvar(exp_self(member))); } else if (GET_FLAG(value, static)) emit_dot_static_import_data(emit, value, exp_getvar(exp_self(member))); - else emit_pushimm(emit, (m_uint)value->type); + else exit(3); //emit_pushimm(emit, (m_uint)value->type); if(isa(value->type, emit->gwion->type[et_object]) > 0 && !exp_getvar(exp_self(member)) && (GET_FLAG(value, static) || GET_FLAG(value, late)))