aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-02-28 10:08:26 -0800
committerAndrew Kelley <andrew@ziglang.org>2022-02-28 16:27:16 -0500
commita7ca40b2817dbf3f2085141f32f20f431707391b (patch)
tree620ebeb2fa323da8f0b66d9ff638a96bbb9a4c77 /src/codegen.zig
parentd1a46548349a902c30057b3ba66ebad9bc25bdd2 (diff)
downloadzig-a7ca40b2817dbf3f2085141f32f20f431707391b.tar.gz
zig-a7ca40b2817dbf3f2085141f32f20f431707391b.zip
stage2: sentinel comp during peer type resolution should use elem type
We were using the array type, not the element type. Also, we should do the sentinel comparison after we verify that the element types of both are compatible.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions