Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: Narrowing an assertion in SuperCall: super Arguments #3466

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion esmeta-ignore.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"MakeMatchIndicesIndexPairArray",
"Record[SourceTextModuleRecord].ExecuteModule",
"Record[SourceTextModuleRecord].ResolveExport",
"SuperCall[0,0].Evaluation",
"TypedArrayGetElement",
"TypedArrayLength",
"TypedArraySetElement",
Expand Down
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -10695,7 +10695,7 @@ <h1>Function Environment Records</h1>
[[NewTarget]]
</td>
<td>
an Object or *undefined*
a constructor or *undefined*
</td>
<td>
If this Environment Record was created by the [[Construct]] internal method, [[NewTarget]] is the value of the [[Construct]] _newTarget_ parameter. Otherwise, its value is *undefined*.
Expand Down Expand Up @@ -19494,7 +19494,7 @@ <h1>Runtime Semantics: Evaluation</h1>
<emu-grammar>SuperCall : `super` Arguments</emu-grammar>
<emu-alg>
1. Let _newTarget_ be GetNewTarget().
1. Assert: _newTarget_ is an Object.
1. Assert: _newTarget_ is a constructor.
1. Let _func_ be GetSuperConstructor().
1. Let _argList_ be ? ArgumentListEvaluation of |Arguments|.
1. If IsConstructor(_func_) is *false*, throw a *TypeError* exception.
Expand Down
Loading