From d2abf522c8a645207d40f4e5a063d0bf737c1f70 Mon Sep 17 00:00:00 2001 From: Malte Ubl Date: Mon, 26 Oct 2026 19:48:26 -0700 Subject: [PATCH] Give the dynamic-dispatch test lowerer a source lookup Co-Authored-By: Claude Opus 5.5 --- .../src/frontend/lowering/class-dynamic-dispatch.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/compiler/src/frontend/lowering/class-dynamic-dispatch.test.ts b/packages/compiler/src/frontend/lowering/class-dynamic-dispatch.test.ts index bbdf271c0..3e7b7783e 100644 --- a/packages/compiler/src/frontend/lowering/class-dynamic-dispatch.test.ts +++ b/packages/compiler/src/frontend/lowering/class-dynamic-dispatch.test.ts @@ -41,6 +41,7 @@ function context() { protocolDispatches: new Map(), classMethodValueSelections: new Map(), isSubclassOf: () => false, + nodeAtLoc: () => null, } as unknown as Lowerer; const boxed = fn("box", [ statement({