Skip to content

Commit 823aad1

Browse files
bakkotljharb
authored andcommitted
Editorial: add missing argument to two CreateImmutableBinding calls (tc39#1864)
1 parent bf37eb3 commit 823aad1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20956,7 +20956,7 @@ <h1>Runtime Semantics: Evaluation</h1>
2095620956
1. Let _funcEnv_ be ! NewDeclarativeEnvironment(_scope_).
2095720957
1. Let _envRec_ be _funcEnv_'s EnvironmentRecord.
2095820958
1. Let _name_ be StringValue of |BindingIdentifier|.
20959-
1. Perform ! _envRec_.CreateImmutableBinding(_name_).
20959+
1. Perform ! _envRec_.CreateImmutableBinding(_name_, *false*).
2096020960
1. Let _closure_ be ! OrdinaryFunctionCreate(%AsyncGenerator%, |FormalParameters|, |AsyncGeneratorBody|, ~non-lexical-this~, _funcEnv_).
2096120961
1. Let _prototype_ be ! OrdinaryObjectCreate(%AsyncGenerator.prototype%).
2096220962
1. Perform ! DefinePropertyOrThrow(_closure_, *"prototype"*, PropertyDescriptor { [[Value]]: _prototype_, [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *false* }).
@@ -21613,7 +21613,7 @@ <h1>Runtime Semantics: Evaluation</h1>
2161321613
1. Let _funcEnv_ be ! NewDeclarativeEnvironment(_scope_).
2161421614
1. Let _envRec_ be _funcEnv_'s EnvironmentRecord.
2161521615
1. Let _name_ be StringValue of |BindingIdentifier|.
21616-
1. Perform ! _envRec_.CreateImmutableBinding(_name_).
21616+
1. Perform ! _envRec_.CreateImmutableBinding(_name_, *false*).
2161721617
1. Let _closure_ be ! OrdinaryFunctionCreate(%AsyncFunction.prototype%, |FormalParameters|, |AsyncFunctionBody|, ~non-lexical-this~, _funcEnv_).
2161821618
1. Perform ! SetFunctionName(_closure_, _name_).
2161921619
1. Perform ! _envRec_.InitializeBinding(_name_, _closure_).

0 commit comments

Comments
 (0)