mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-04 08:04:37 +08:00
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
306db2f3b1
commit
58b650dca7
-18
@@ -22,15 +22,6 @@
|
||||
"end": 207
|
||||
}
|
||||
},
|
||||
{
|
||||
"code": "SC0001",
|
||||
"message": "Cannot find name 'last'.",
|
||||
"loc": {
|
||||
"file": "<repo>/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": "<repo>/tests/corpus/8427-sloppy-with-island/lookup.js",
|
||||
"start": 576,
|
||||
"end": 581
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user