Skip to content

Commit

Permalink
Fix typos and add temporary PR note
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed Mar 22, 2024
1 parent 1e8a2ce commit 716bb8a
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -7391,12 +7391,18 @@ <h1>
1. Let _method_ be ? GetMethod(_V_, @@asyncDispose).
1. If _method_ is *undefined*, then
1. Set _method_ to ? GetMethod(_V_, @@dispose).
1. Let _closure_ be a new Abstract Closure with no parameters that captures _method_ and performs the following steps when called:
1. Let _O_ be the *this* value.
1. Perform ? Call(_method_, _O_).
1. Return *undefined*.
1. NOTE: This function is not observable to user code. It is used to ensure that a Promise returned from a synchronous `@@dispose` method will not be awaited.
1. Return CreateBuiltinFunction(_closure_, 0, *""*, « »).
<!--
TODO: Uncomment the following line and indent the section below once https://github.com/tc39/proposal-explicit-resource-management/pull/217 is merged.
1. If _method_ is not *undefined*, then
-->
<!-- BEGIN INDENT -->
1. Let _closure_ be a new Abstract Closure with no parameters that captures _method_ and performs the following steps when called:
1. Let _O_ be the *this* value.
1. Perform ? Call(_method_, _O_).
1. Return *undefined*.
1. NOTE: This function is not observable to user code. It is used to ensure that a Promise returned from a synchronous `@@dispose` method will not be awaited.
1. Return CreateBuiltinFunction(_closure_, 0, *""*, « »).
<!-- END INDENT -->
1. Else,
1. Let _method_ be ? GetMethod(_V_, @@dispose).
1. Return _method_.
Expand Down Expand Up @@ -23910,7 +23916,7 @@ <h1>
<emu-grammar>FunctionBody : FunctionStatementList</emu-grammar>
<emu-alg>
1. Perform ! FunctionDeclarationInstantiation(_functionObject_, _argumentsList_).
1. Return ? Evaluation of |FunctionStatementList|).
1. Return ? Evaluation of |FunctionStatementList|.
</emu-alg>
</emu-clause>

Expand Down

0 comments on commit 716bb8a

Please # to comment.