Skip to content

Commit

Permalink
Editorial: add missing argument to two CreateImmutableBinding calls (t…
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored and ljharb committed Feb 13, 2020
1 parent bf37eb3 commit 823aad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -20956,7 +20956,7 @@ <h1>Runtime Semantics: Evaluation</h1>
1. Let _funcEnv_ be ! NewDeclarativeEnvironment(_scope_).
1. Let _envRec_ be _funcEnv_'s EnvironmentRecord.
1. Let _name_ be StringValue of |BindingIdentifier|.
1. Perform ! _envRec_.CreateImmutableBinding(_name_).
1. Perform ! _envRec_.CreateImmutableBinding(_name_, *false*).
1. Let _closure_ be ! OrdinaryFunctionCreate(%AsyncGenerator%, |FormalParameters|, |AsyncGeneratorBody|, ~non-lexical-this~, _funcEnv_).
1. Let _prototype_ be ! OrdinaryObjectCreate(%AsyncGenerator.prototype%).
1. Perform ! DefinePropertyOrThrow(_closure_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
Expand Down Expand Up @@ -21613,7 +21613,7 @@ <h1>Runtime Semantics: Evaluation</h1>
1. Let _funcEnv_ be ! NewDeclarativeEnvironment(_scope_).
1. Let _envRec_ be _funcEnv_'s EnvironmentRecord.
1. Let _name_ be StringValue of |BindingIdentifier|.
1. Perform ! _envRec_.CreateImmutableBinding(_name_).
1. Perform ! _envRec_.CreateImmutableBinding(_name_, *false*).
1. Let _closure_ be ! OrdinaryFunctionCreate(%AsyncFunction.prototype%, |FormalParameters|, |AsyncFunctionBody|, ~non-lexical-this~, _funcEnv_).
1. Perform ! SetFunctionName(_closure_, _name_).
1. Perform ! _envRec_.InitializeBinding(_name_, _closure_).
Expand Down

0 comments on commit 823aad1

Please sign in to comment.