]> Nishi Git Mirror - gwion.git/commitdiff
:art:Remove useless ref
authorfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 24 Jul 2019 00:30:29 +0000 (02:30 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 24 Jul 2019 00:30:29 +0000 (02:30 +0200)
src/parse/type_decl.c

index aeeb4d11da607e6071f33e0c169abb8ae4277725..78cd46d562049b85444c945b7bc6e5770cc21f5a 100644 (file)
@@ -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;
   }