diff options
Diffstat (limited to 'decls_cgen.c')
-rw-r--r-- | decls_cgen.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/decls_cgen.c b/decls_cgen.c index a9cbdf3..f815c13 100644 --- a/decls_cgen.c +++ b/decls_cgen.c @@ -76,8 +76,6 @@ static bool cgen_decls_fn_instances(CGenerator *g, FnExpr *f) { static bool cgen_fn_decl(CGenerator *g, FnExpr *f, Type *t) { FnType *fn_type = &t->fn; - if (f->c.declared) return true; - f->c.declared = true; if (fn_type->constness) { if (!cgen_decls_fn_instances(g, f)) return false; |