Fix type incomplete of argument in away procedure that has a pointer to

that that is never used outside of procedure definition. We emit void.
This commit is contained in:
Krzosa Karol
2023-02-09 14:41:02 +01:00
parent 7370e8b716
commit 0029e0688b
4 changed files with 13 additions and 1 deletions

View File

@@ -273,6 +273,9 @@ resolve_everything_in_module(Ast_Module *module) {
resolve_name(file, decl->pos, decl->name);
if (decl->kind == AST_STRUCT) {
// if (decl->name == pctx->intern("CreateFileW"_s)) {
// __debugbreak();
// }
type_complete(decl->type_val);
}
}