From 716bb8a6600d6b2e6a7de49a86a0bb3e979ff470 Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Fri, 22 Mar 2024 13:35:18 -0400 Subject: [PATCH] Fix typos and add temporary PR note --- spec.html | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/spec.html b/spec.html index d07fe71ae3..99650eed34 100644 --- a/spec.html +++ b/spec.html @@ -7391,12 +7391,18 @@

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, *""*, « »). + + + 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, *""*, « »). + 1. Else, 1. Let _method_ be ? GetMethod(_V_, @@dispose). 1. Return _method_. @@ -23910,7 +23916,7 @@

FunctionBody : FunctionStatementList 1. Perform ! FunctionDeclarationInstantiation(_functionObject_, _argumentsList_). - 1. Return ? Evaluation of |FunctionStatementList|). + 1. Return ? Evaluation of |FunctionStatementList|.