From b425eeca6ec1e0609c2360ffc3c1a4ea5cc0a38f Mon Sep 17 00:00:00 2001 From: Malte Ubl Date: Mon, 26 Oct 2026 16:07:11 -0700 Subject: [PATCH] Move SC8021 and SC8023 from the reserved to the active codes --- packages/compiler/src/diagnostics/codes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/compiler/src/diagnostics/codes.ts b/packages/compiler/src/diagnostics/codes.ts index a40635849..5d05f64ee 100644 --- a/packages/compiler/src/diagnostics/codes.ts +++ b/packages/compiler/src/diagnostics/codes.ts @@ -116,7 +116,9 @@ export const DIAGNOSTIC_CODES = { SC8010: "value crossing a Node island boundary in a form without an exact copy", SC8011: "native class extending a Node island class outside the supported forms", SC8020: "stateful module duplicated across the Node island boundary", + SC8021: "Node island evaluation notes (deferred or at startup)", SC8022: "island code extends a class of a compiled module", + SC8023: "Node island build failed; built natively with runtime fences", SC8030: "type patch: no range covers the installed copy", SC8031: "type patch: selector matches nothing", SC8032: "type patch: declaration already has the type", @@ -155,8 +157,6 @@ export const RETIRED_DIAGNOSTIC_CODES = { * abandoned, delete them here. */ export const RESERVED_DIAGNOSTIC_CODES = { SC8012: "Node islands (ni/* branches)", - SC8021: "Node islands (ni/* branches)", - SC8023: "Node islands (ni/* branches)", } as const satisfies Record<`SC${number}`, string>; export type DiagnosticCode = keyof typeof DIAGNOSTIC_CODES;