From 8e59f554d75b81be7c9d6151266346ee9bd62361 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 24 Jul 2019 02:30:29 +0200 Subject: [PATCH] :art:Remove useless ref --- src/parse/type_decl.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.43.0