From 99b36f0591bf809bd2ea64a7bd2294606f4bef1f Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Wed, 28 Jul 2021 15:23:00 -0700 Subject: [PATCH] Editorial: consolidate method cases of PropertyDefinitionEvaluation (#2470) --- spec.html | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/spec.html b/spec.html index f496909d07..3dbd2f3361 100644 --- a/spec.html +++ b/spec.html @@ -17913,31 +17913,10 @@

Runtime Semantics: PropertyDefinitionEvaluation

1. Assert: _object_ is an ordinary, extensible object with no non-configurable properties. 1. Return ! CreateDataPropertyOrThrow(_object_, _propKey_, _propValue_). - - MethodDefinition : - ClassElementName `(` UniqueFormalParameters `)` `{` FunctionBody `}` - `get` ClassElementName `(` `)` `{` FunctionBody `}` - `set` ClassElementName `(` PropertySetParameterList `)` `{` FunctionBody `}` - + PropertyDefinition : MethodDefinition 1. Return ? MethodDefinitionEvaluation of |MethodDefinition| with arguments _object_ and *true*. - GeneratorMethod : `*` ClassElementName `(` UniqueFormalParameters `)` `{` GeneratorBody `}` - - 1. Return ? MethodDefinitionEvaluation of |GeneratorMethod| with arguments _object_ and *true*. - - - AsyncGeneratorMethod : `async` `*` ClassElementName `(` UniqueFormalParameters `)` `{` AsyncGeneratorBody `}` - - - 1. Return ? MethodDefinitionEvaluation of |AsyncGeneratorMethod| with arguments _object_ and *true*. - - - AsyncMethod : `async` ClassElementName `(` UniqueFormalParameters `)` `{` AsyncFunctionBody `}` - - - 1. Return ? MethodDefinitionEvaluation of |AsyncMethod| with arguments _object_ and *true*. -