From 6442d52085d247da8ec099873f89aa6d0325d3ad Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Wed, 11 May 2022 19:37:47 -0500 Subject: [PATCH] removed another nocheckin --- src/checker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checker.c b/src/checker.c index a9941989..6527a3cc 100644 --- a/src/checker.c +++ b/src/checker.c @@ -2176,7 +2176,7 @@ CheckStatus check_struct(AstStructType* s_node) { Type *arg_type = type_build_from_ast(context.ast_alloc, s_node->polymorphic_argument_types[i]); if (arg_type == NULL) YIELD(s_node->polymorphic_argument_types[i]->token->pos, "Waiting to build type for polymorph argument."); - // nocheckin this is wrong... + // CLEANUP: This might be wrong... if (s_node->polymorphic_arguments[i].value) { TYPE_CHECK(&s_node->polymorphic_arguments[i].value, arg_type) { ERROR_(s_node->polymorphic_arguments[i].value->token->pos, "Expected value of type %s, got %s.", -- 2.25.1