CHECK_BB(op_emit(emit, &opi));
}
set_late(emit->gwion, decl, list->self);
- if ((GET_FLAG(array_base(v->type), abstract) && !GET_FLAG(decl->td, late) &&
- GET_FLAG(v, late)) || (!exp_self(decl)->emit_var &&late_array(decl->td, list->self))) {
+ if (!exp_self(decl)->emit_var && GET_FLAG(array_base(v->type), abstract) && !GET_FLAG(decl->td, late) &&
+ GET_FLAG(v, late) && late_array(decl->td, list->self)) {
env_warn(emit->env, decl->td->pos, _("Type '%s' is abstract, use {+G}late{0} instead of {G+}%s{0}"),
v->type->name, !GET_FLAG(decl->td, const) ? "var" : "const");
}