diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-02-27 15:29:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-27 15:29:03 -0500 |
| commit | b5066fdae292f44a6e4c60db9a9db012672dd10e (patch) | |
| tree | 6367bdaa9d4f19ed8905061a670aaff5e6f974f6 /src/Module.zig | |
| parent | c03b733f0999418b234067cac51eac0e4412dfe1 (diff) | |
| parent | 9f59189c954298fd2be576b7e3dd26388d07751d (diff) | |
| download | zig-b5066fdae292f44a6e4c60db9a9db012672dd10e.tar.gz zig-b5066fdae292f44a6e4c60db9a9db012672dd10e.zip | |
Merge pull request #11001 from Vexu/stage2
stage2: make formatted printing work
Diffstat (limited to 'src/Module.zig')
| -rw-r--r-- | src/Module.zig | 2 |
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); |
