aboutsummaryrefslogtreecommitdiff
path: root/src/ThreadPool.zig
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2022-02-06 22:11:41 +0100
committerAndrew Kelley <andrew@ziglang.org>2022-02-06 21:26:26 -0500
commitfd1284ebd07ded1c67bbaff4c14f093051e56f59 (patch)
tree3ceb66a3288aae5aa8495ff00e7af89c9561f134 /src/ThreadPool.zig
parentadc9a282d8b3cbe58e07c965fe40fb1dd8666bd7 (diff)
downloadzig-fd1284ebd07ded1c67bbaff4c14f093051e56f59.tar.gz
zig-fd1284ebd07ded1c67bbaff4c14f093051e56f59.zip
stage2: apply type coercion in if expressions
When setting the break value in an if expression we must explicitly check if a result location type coercion that needs to happen. This was already done for switch expression, so let's just imitate that check and fix for if expressions. To make this possible, we now also propagate `rl_ty_inst` to sub scopes.
Diffstat (limited to 'src/ThreadPool.zig')
0 files changed, 0 insertions, 0 deletions