From 2ae722e5fab5dbd6075f6ba016a4fa91c643e2a9 Mon Sep 17 00:00:00 2001 From: darmie Date: Sun, 27 Sep 2026 14:06:58 +0000 Subject: [PATCH] Tiered backend: carry the exact struct types into the scratch module The scratch module runs the optimisation pipeline, so LICM and load CSE read the same exact types there as on the full module. Restores the build on main. --- crates/compiler/src/tiered_backend.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/compiler/src/tiered_backend.rs b/crates/compiler/src/tiered_backend.rs index 78ac755d..af33852a 100644 --- a/crates/compiler/src/tiered_backend.rs +++ b/crates/compiler/src/tiered_backend.rs @@ -480,6 +480,7 @@ impl Scratch { effects: module.effects.clone(), handlers: module.handlers.clone(), automatic_release: module.automatic_release, + exact_struct_types: module.exact_struct_types.clone(), }; if std::env::var_os("ZYNTAX_TRACE_LAZY").is_some() { eprintln!(