Skip to content

Commit

Permalink
Editorial: FunctionDeclarationInstantiation always returns a normal c…
Browse files Browse the repository at this point in the history
…ompletion
  • Loading branch information
bterlson committed Feb 4, 2017
1 parent 8eb5125 commit c90286d
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 @@ -19634,7 +19634,7 @@ <h1>Runtime Semantics: EvaluateBody</h1>
</emu-grammar>
<emu-alg>
1. Let _promiseCapability_ be ! NewPromiseCapability(%Promise%).
1. Let _declResult_ be FunctionDeclarationInstantiation(_functionObject_, _argumentsList_).
1. Let _declResult_ be ! FunctionDeclarationInstantiation(_functionObject_, _argumentsList_).
1. If _declResult_ is not an abrupt completion, then
1. Perform ! AsyncFunctionStart(_promiseCapability_, _FunctionBody_).
1. Else _declResult_ is an abrupt completion,
Expand Down Expand Up @@ -19922,7 +19922,7 @@ <h1>Runtime Semantics: EvaluateBody</h1>
</emu-grammar>
<emu-alg>
1. Let _promiseCapability_ be ! NewPromiseCapability(%Promise%).
1. Let _declResult_ be ? FunctionDeclarationInstantiation(_functionObject_, _argumentsList_).
1. Let _declResult_ be ! FunctionDeclarationInstantiation(_functionObject_, _argumentsList_).
1. If _declResult_ is not an abrupt completion, then
1. Perform ! AsyncFunctionStart(_promiseCapability_, _AssignmentExpression_).
1. Else _declResult_ is an abrupt completion,
Expand Down

0 comments on commit c90286d

Please sign in to comment.