From a5f9701f2b048fa389397c7718b69caa9cf1e732 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 22 Nov 2022 17:29:54 +0100 Subject: [PATCH] :art: remove unreachable statement in opem_object_dot --- src/lib/object_op.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.43.0