aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Cache.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2023-06-13 18:50:53 +0100
committermlugg <mlugg@mlugg.co.uk>2023-06-13 21:48:21 +0100
commit8a92beb088c5eb890f0b662ca6e0c8d68b72fd6a (patch)
tree3acb3639945161008da3092313ed8a7eb107315e /lib/std/Build/Cache.zig
parent588f45a0a1492711b2cd9991ba8e9137e583e513 (diff)
downloadzig-8a92beb088c5eb890f0b662ca6e0c8d68b72fd6a.tar.gz
zig-8a92beb088c5eb890f0b662ca6e0c8d68b72fd6a.zip
Sema: move all in-memory coercion logic to InternPool
Previously, this logic was split between Sema.coerceValueInMemory and InternPool.getCoerced. This led to issues when trying to coerce e.g. an optional containing an aggregate, because we'd call through to InternPool's version which only recurses on itself so could not coerce aggregates. Unifying them is fairly simple, and also simplified a bit of logic in Sema. Also fixes a key lifetime bug in aggregate coercion.
Diffstat (limited to 'lib/std/Build/Cache.zig')
0 files changed, 0 insertions, 0 deletions