From 58b650dca706b9c56acdf33d0cf97530f25cf066 Mon Sep 17 00:00:00 2001 From: Malte Ubl Date: Thu, 29 Oct 2026 19:48:40 -0700 Subject: [PATCH] Record the sloppy island corpus program's preflight on the current base The recorded entry came from the branch's older base. The preflight of lookup.js no longer reports the two `Cannot find name` errors for the names a `with` resolves against its record (`last` in describe, `inner` in the nested with); the `with`-in-strict-mode errors and the rest of the entry are unchanged. The corpus differential still matches Node on the program's output, so this records the behavior the tree has today. Co-Authored-By: Claude Opus 5.5 --- .../8427-sloppy-with-island/main.js.json | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/compiler/test/ts7/baselines/order-parity/tests/corpus/8427-sloppy-with-island/main.js.json b/packages/compiler/test/ts7/baselines/order-parity/tests/corpus/8427-sloppy-with-island/main.js.json index cb38c0ce6..eec7c13b3 100644 --- a/packages/compiler/test/ts7/baselines/order-parity/tests/corpus/8427-sloppy-with-island/main.js.json +++ b/packages/compiler/test/ts7/baselines/order-parity/tests/corpus/8427-sloppy-with-island/main.js.json @@ -22,15 +22,6 @@ "end": 207 } }, - { - "code": "SC0001", - "message": "Cannot find name 'last'.", - "loc": { - "file": "/tests/corpus/8427-sloppy-with-island/lookup.js", - "start": 252, - "end": 256 - } - }, { "code": "SC0001", "message": "'with' statements are not allowed in strict mode.", @@ -93,15 +84,6 @@ "start": 548, "end": 552 } - }, - { - "code": "SC0001", - "message": "Cannot find name 'inner'.", - "loc": { - "file": "/tests/corpus/8427-sloppy-with-island/lookup.js", - "start": 576, - "end": 581 - } } ] }