LibJS: Fix typo in ResolveExport assertion

This is an editorial change in the ECMA-262 spec. See:
https://github.com/tc39/ecma262/commit/29c5b17
This commit is contained in:
Timothy Flynn
2025-12-02 11:54:23 -05:00
committed by Andreas Kling
parent b572ae95a9
commit b060d5dcdf
Notes: github-actions[bot] 2025-12-03 11:10:22 +00:00

View File

@@ -655,7 +655,7 @@ ResolvedBinding SourceTextModule::resolve_export(VM& vm, Utf16FlyString const& e
} }
// iii. Else, // iii. Else,
else { else {
// 1. Assert: There is more than one * import that includes the requested name. // 1. Assert: There is more than one * export that includes the requested name.
// FIXME: Assert this // FIXME: Assert this
// 2. If resolution.[[Module]] and starResolution.[[Module]] are not the same Module Record, return AMBIGUOUS. // 2. If resolution.[[Module]] and starResolution.[[Module]] are not the same Module Record, return AMBIGUOUS.