diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-01-17 00:16:10 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-01-17 00:16:10 -0700 |
| commit | 44135ea84e562ae67a5eeced99566be58bffc6fc (patch) | |
| tree | fdf5e11589187137b7189e5fda128c725259e659 /src/type | |
| parent | 1f65828ec6caa7697b26d9e919112aa1715b57bc (diff) | |
| parent | 8deb21c58a4e5f9f8805f6b1a2c9a1774c4a4df5 (diff) | |
| download | zig-44135ea84e562ae67a5eeced99566be58bffc6fc.tar.gz zig-44135ea84e562ae67a5eeced99566be58bffc6fc.zip | |
Merge branch 'stage2 error notes'
Closes #7555
There was still some extra work @Vexu did in that PR having to do with
adding more compile errors and notes for switch expressions, but that
can be added in a follow-up commit.
Diffstat (limited to 'src/type')
| -rw-r--r-- | src/type/Enum.zig | 2 | ||||
| -rw-r--r-- | src/type/Struct.zig | 2 | ||||
| -rw-r--r-- | src/type/Union.zig | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/type/Enum.zig b/src/type/Enum.zig index 9b9ec5b319..4dfd5f6e44 100644 --- a/src/type/Enum.zig +++ b/src/type/Enum.zig @@ -21,7 +21,7 @@ pub const Field = struct { }; pub const Zir = struct { - body: zir.Module.Body, + body: zir.Body, inst: *zir.Inst, }; diff --git a/src/type/Struct.zig b/src/type/Struct.zig index d6a591c95e..24e3a0dcad 100644 --- a/src/type/Struct.zig +++ b/src/type/Struct.zig @@ -24,7 +24,7 @@ pub const Field = struct { }; pub const Zir = struct { - body: zir.Module.Body, + body: zir.Body, inst: *zir.Inst, }; diff --git a/src/type/Union.zig b/src/type/Union.zig index 26cc1796c6..5c7acf7d36 100644 --- a/src/type/Union.zig +++ b/src/type/Union.zig @@ -24,7 +24,7 @@ pub const Field = struct { }; pub const Zir = struct { - body: zir.Module.Body, + body: zir.Body, inst: *zir.Inst, }; |
