aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-02-27 11:48:42 +0200
committerVeikka Tuominen <git@vexu.eu>2022-02-27 11:57:12 +0200
commit950d840be66deb9239c0effa90ee41a7c0884f95 (patch)
tree50c2f0f8c60bab3586e889a9ff4d457480ec4482 /src/Module.zig
parent593d23c0d746deae1036b5209c683c1984dd0203 (diff)
downloadzig-950d840be66deb9239c0effa90ee41a7c0884f95.tar.gz
zig-950d840be66deb9239c0effa90ee41a7c0884f95.zip
stage2: use stage1 test runner for stage2
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Module.zig b/src/Module.zig
index 048895e5bf..9bc61aa708 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -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);