diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-05-29 01:27:37 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-06-12 13:55:40 +0100 |
| commit | 66d15d9d0974e1b493b717cf02deb435ebd13858 (patch) | |
| tree | e5110141a14ba06fd626b8fc98ef59808724579a /src/Zcu/PerThread.zig | |
| parent | 2fb6f5c1adcd764372ad28ed4014fdaf558da778 (diff) | |
| download | zig-66d15d9d0974e1b493b717cf02deb435ebd13858.tar.gz zig-66d15d9d0974e1b493b717cf02deb435ebd13858.zip | |
link: make checking for failed types the responsibility of Compilation
Diffstat (limited to 'src/Zcu/PerThread.zig')
| -rw-r--r-- | src/Zcu/PerThread.zig | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Zcu/PerThread.zig b/src/Zcu/PerThread.zig index b10e6d7c41..137d93b82a 100644 --- a/src/Zcu/PerThread.zig +++ b/src/Zcu/PerThread.zig @@ -1739,14 +1739,6 @@ pub fn linkerUpdateFunc(pt: Zcu.PerThread, func_index: InternPool.Index, air: *A const codegen_prog_node = zcu.codegen_prog_node.start(nav.fqn.toSlice(ip), 0); defer codegen_prog_node.end(); - if (!air.typesFullyResolved(zcu)) { - // A type we depend on failed to resolve. This is a transitive failure. - // Correcting this failure will involve changing a type this function - // depends on, hence triggering re-analysis of this function, so this - // interacts correctly with incremental compilation. - return; - } - legalize: { try air.legalize(pt, @import("../codegen.zig").legalizeFeatures(pt, nav_index) orelse break :legalize); } |
