diff --git a/spec.html b/spec.html
index 3dbd2f3361..2bccada319 100644
--- a/spec.html
+++ b/spec.html
@@ -13220,7 +13220,6 @@
- 1. Perform ! SetFunctionName(_closure_, _key_).
1. If _key_ is a Private Name, then
1. Return PrivateElement { [[Key]]: _key_, [[Kind]]: ~method~, [[Value]]: _closure_ }.
1. Else,
@@ -22992,6 +22991,7 @@ Runtime Semantics: MethodDefinitionEvaluation
MethodDefinition : ClassElementName `(` UniqueFormalParameters `)` `{` FunctionBody `}`
1. Let _methodDef_ be ? DefineMethod of |MethodDefinition| with argument _object_.
+ 1. Perform ! SetFunctionName(_methodDef_.[[Closure]], _methodDef_.[[Key]]).
1. Return ? DefineMethodProperty(_methodDef_.[[Key]], _object_, _methodDef_.[[Closure]], _enumerable_).
MethodDefinition : `get` ClassElementName `(` `)` `{` FunctionBody `}`
@@ -23070,6 +23070,7 @@ Runtime Semantics: MethodDefinitionEvaluation
1. Let _sourceText_ be the source text matched by |AsyncMethod|.
1. Let _closure_ be ! OrdinaryFunctionCreate(%AsyncFunction.prototype%, _sourceText_, |UniqueFormalParameters|, |AsyncFunctionBody|, ~non-lexical-this~, _scope_, _privateScope_).
1. Perform ! MakeMethod(_closure_, _object_).
+ 1. Perform ! SetFunctionName(_closure_, _propKey_).
1. Return ? DefineMethodProperty(_propKey_, _object_, _closure_, _enumerable_).