From: Brendan Hansen Date: Thu, 12 May 2022 00:37:47 +0000 (-0500) Subject: removed another nocheckin X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=6442d52085d247da8ec099873f89aa6d0325d3ad;p=onyx.git removed another nocheckin --- 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.",