From: fennecdjay Date: Wed, 24 Jul 2019 00:30:29 +0000 (+0200) Subject: :art:Remove useless ref X-Git-Tag: nightly~2301 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8e59f554d75b81be7c9d6151266346ee9bd62361;p=gwion.git :art:Remove useless ref --- diff --git a/src/parse/type_decl.c b/src/parse/type_decl.c index aeeb4d11..78cd46d5 100644 --- a/src/parse/type_decl.c +++ b/src/parse/type_decl.c @@ -28,7 +28,6 @@ ANN Type type_decl_resolve(const Env env, const Type_Decl* td) { t->name = s_name(sym); t->e->parent = ret; SET_FLAG(t, nonnull); - ADD_REF(ret); map_set(&t->e->owner->info->type->map, (vtype)sym, (vtype)t); return t; }