From: Brendan Hansen Date: Mon, 3 Apr 2023 17:51:10 +0000 (-0500) Subject: bugfix: internal package type X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=ea3cb6d6ee8c9f1d53478d823ab8317b2d3fed0f;p=onyx.git bugfix: internal package type --- diff --git a/compiler/src/parser.c b/compiler/src/parser.c index 1d06f1ab..400b4b8a 100644 --- a/compiler/src/parser.c +++ b/compiler/src/parser.c @@ -3710,6 +3710,7 @@ static Package* parse_file_package(OnyxParser* parser) { pnode->token = *symbol; pnode->package = newpackage; pnode->package_name = newpackage->name; + pnode->type_node = builtin_package_id_type; pnode->flags |= Ast_Flag_Comptime; if (prevpackage != NULL) {