stage2: use stage1 test runner for stage2

This commit is contained in:
Veikka Tuominen
2022-02-27 11:48:42 +02:00
parent 593d23c0d7
commit 950d840be6
5 changed files with 50 additions and 32 deletions

View File

@@ -3762,7 +3762,7 @@ fn semaDecl(mod: *Module, decl: *Decl) !bool {
// Note this resolves the type of the Decl, not the value; if this Decl
// is a struct, for example, this resolves `type` (which needs no resolution),
// not the struct itself.
try sema.resolveTypeLayout(&block_scope, src, decl_tv.ty);
try sema.resolveTypeFully(&block_scope, src, decl_tv.ty);
const decl_arena_state = try decl_arena_allocator.create(std.heap.ArenaAllocator.State);