Skip to content

Commit

Permalink
Normative: Restrict completion values callables can return (#2448)
Browse files Browse the repository at this point in the history
  • Loading branch information
syg authored and ljharb committed Jul 15, 2021
1 parent 04feb01 commit c8ee518
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -3836,6 +3836,8 @@ <h1>The Completion Record Specification Type</h1>
</table>
</emu-table>
<p>The term &ldquo;<dfn>abrupt completion</dfn>&rdquo; refers to any completion with a [[Type]] value other than ~normal~.</p>
<p>Callable objects that are defined in this specification only return a normal completion or a throw completion. Returning any other kind of completion is considered an editorial error.</p>
<p>Implementation-defined callable objects must return either a normal completion or a throw completion.</p>

<emu-clause id="await" oldids="await-fulfilled,await-rejected" aoid="Await">
<h1>Await</h1>
Expand Down

0 comments on commit c8ee518

Please sign in to comment.