maybe_ctor(emit, type);
if(GET_FLAG(type, typedef) && type->e->parent->array_depth)
emit_array_extend(emit, type->e->parent, type->e->def->base.ext->array->exp);
- if(GET_FLAG(type, template) && GET_FLAG(type, builtin))
- tmpl_ctor(emit, type);
}
#define regxxx(name, instr) \
static OP_CHECK(opck_cast_tuple_object) {
const Exp_Cast *cast = (Exp_Cast*)data;
- if(tuple_match(env, exp_self(cast)->type, cast->exp->type) < 0)
+ if(tuple_match(env, cast->exp->type, exp_self(cast)->type) < 0)
return env->gwion->type[et_null];
return exp_self(cast)->type;
}