commit 31b201a7c616fa09319dc433792fb968a8b9655f
parent c0407a431c1c2d1fb1878f40fbecd61b357aa35c
Author: Drew DeVault <sir@cmpwn.com>
Date: Sat, 19 Dec 2020 20:43:30 -0500
check: add TODO for namespaces
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/check.c b/src/check.c
@@ -134,6 +134,7 @@ check_function(struct context *ctx,
assert(fntype); // Invariant
decl->type = DECL_FUNC;
decl->func.type = fntype;
+ // TODO: Rewrite ident to be a member of the unit's namespace
identifier_dup(&decl->ident, &afndecl->ident);
decl->func.flags = afndecl->flags;