From f8256fe05709f05512fda177c0e92bb00971a800 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Thu, 18 Jul 2019 13:06:02 -0400 Subject: [PATCH] Editorial: insert '!' and '?' In PR $1571: https://github.com/tc39/ecma262/pull/1571/files#diff-3540caefa502006d8a33cb1385720803L19940 removed the step "Assert: _constructorInfo_ is not an abrupt completion." but didn't insert the equivalent "!" on the previous line. https://github.com/tc39/ecma262/pull/1571/files#diff-3540caefa502006d8a33cb1385720803L23362 removed a ReturnIfAbrupt step, but didn't insert the equivalent '?' in the previous line. --- spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.html b/spec.html index dea095bb95d..b5e2f54a128 100644 --- a/spec.html +++ b/spec.html @@ -19961,7 +19961,7 @@

Runtime Semantics: ClassDefinitionEvaluation

constructor() {}
using the syntactic grammar with the goal symbol |MethodDefinition[~Yield, ~Await]|. 1. Set the running execution context's LexicalEnvironment to _classScope_. - 1. Let _constructorInfo_ be DefineMethod of _constructor_ with arguments _proto_ and _constructorParent_. + 1. Let _constructorInfo_ be ! DefineMethod of _constructor_ with arguments _proto_ and _constructorParent_. 1. Let _F_ be _constructorInfo_.[[Closure]]. 1. If |ClassHeritage_opt| is present, set _F_.[[ConstructorKind]] to `"derived"`. 1. Perform MakeConstructor(_F_, *false*, _proto_). @@ -23379,7 +23379,7 @@

Runtime Semantics: Evaluation

ExportDeclaration : `export` `default` ClassDeclaration - 1. Let _value_ be BindingClassDeclarationEvaluation of |ClassDeclaration|. + 1. Let _value_ be ? BindingClassDeclarationEvaluation of |ClassDeclaration|. 1. Let _className_ be the sole element of BoundNames of |ClassDeclaration|. 1. If _className_ is `"*default*"`, then 1. Let _env_ be the running execution context's LexicalEnvironment.