Skip to content

Commit

Permalink
change assert
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Jan 15, 2025
1 parent 5a119c8 commit 167561a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -28211,13 +28211,13 @@ <h1>
1. For each ExportEntry Record _e_ of _module_.[[IndirectExportEntries]], do
1. If _e_.[[ExportName]] is _exportName_, then
1. Assert: _e_.[[ModuleRequest]] is not *null*.
1. Assert: _e_.[[ImportName]] is neither ~all-but-default~ nor *null*.
1. Let _importedModule_ be GetImportedModule(_module_, _e_.[[ModuleRequest]]).
1. If _e_.[[ImportName]] is ~all~, then
1. Assert: _module_ does not provide the direct binding for this export.
1. Return ResolvedBinding Record { [[Module]]: _importedModule_, [[BindingName]]: ~namespace~ }.
1. Else,
1. Assert: _module_ imports a specific binding for this export.
1. Assert: _e_.[[ImportName]] is a String.
1. Return _importedModule_.ResolveExport(_e_.[[ImportName]], _resolveSet_).
1. If _exportName_ is *"default"*, then
1. Assert: A `default` export was not explicitly defined by this module.
Expand Down

0 comments on commit 167561a

Please sign in to comment.