mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-05 01:10:24 +00:00
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:
committed by
Andreas Kling
parent
b572ae95a9
commit
b060d5dcdf
Notes:
github-actions[bot]
2025-12-03 11:10:22 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/b060d5dcdfb Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7002
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user