Polymorphs

This commit is contained in:
Krzosa Karol
2023-04-01 09:28:35 +02:00
parent e2ae8005bb
commit 5fb4999ca8
5 changed files with 278 additions and 226 deletions

View File

@@ -733,6 +733,7 @@ parse_struct(Token *pos, Ast_Kind kind) {
compiler_error(it->pos, "All struct arguments are required to be polymorphic");
}
}
params = params.tight_copy(pctx->perm);
}
Ast_Scope *scope = begin_decl_scope(scratch.arena, token_get());