ANN m_bool arg_parse(const Gwion gwion, Arg* a) {
arg_init(a);
+#ifdef __FUZZING
+ return;
+#endif
config_default(gwion, a);
return _arg_parse(gwion, a);
}
interp_multi(emit, e);
regseti(emit, (m_uint)e->info->type);
interp_size(emit, e->info->type);
-// regseti(emit, (m_uint)isa(e->info->type, emit->gwion->type[et_object]) > 0);
const m_bool isobj = isa(e->info->type, emit->gwion->type[et_object]) > 0;
if(isobj) {
if(!GET_FLAG(e->info->type, force))
ANN static Type check_prim_typeof(const Env env, const Exp *exp) {
const Exp e = *exp;
DECL_OO(const Type, t, = check_exp(env, e))
- return type_class(env->gwion, t);
+ const Type force = force_type(env, t);
+ return type_class(env->gwion, force);
}
ANN static Type check_prim_interp(const Env env, const Exp* exp) {
-#! [contains] declared inside itself
+#! [contains] declared inside
class c {
c var;
}