From 7dbb3b9c9276deffbcd9c69a36c843e0b509aa61 Mon Sep 17 00:00:00 2001 From: Malte Ubl Date: Thu, 29 Oct 2026 09:22:40 -0700 Subject: [PATCH] Register the identity check latch in the lowerer's journal The unit journal requires every scalar of the lowerer to be journaled or left out by name; `genericIdentityCheckDone` is set only by the end-of-lowering audit, so a unit must leave it as it was. Co-Authored-By: Claude Opus 5.5 --- packages/compiler/src/frontend/lowering/lowerer.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/compiler/src/frontend/lowering/lowerer.ts b/packages/compiler/src/frontend/lowering/lowerer.ts index 9aeab9358..2065a9d78 100644 --- a/packages/compiler/src/frontend/lowering/lowerer.ts +++ b/packages/compiler/src/frontend/lowering/lowerer.ts @@ -4677,6 +4677,9 @@ export class Lowerer { fixed("errorAccessorReflection", () => this.errorAccessorReflection), fixed("subclassLinks", () => this.subclassLinks), fixed("errorPathCopies", () => this.errorPathCopies), + // A latch of the end-of-lowering audit (checkGenericIdentityPins): a + // unit never touches it. + fixed("genericIdentityCheckDone", () => this.genericIdentityCheckDone), fixed("errorMethodDispatchRevision", () => this.errorMethodDispatchRevision), fixed("errorPropertyDispatchRevision", () => this.errorPropertyDispatchRevision), fixed("childAdditions", () => this.childAdditions),