Skip to content

Commit

Permalink
Also fix in ApplyDecoratorsToClassDefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Feb 8, 2024
1 parent 7886cc8 commit 84536da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -24794,8 +24794,9 @@ <h1>
1. Let _decoratorReceiver_ be _decoratorRecord_.[[Receiver]].
1. Let _decorationState_ be the Record { [[Finished]]: *false* }.
1. Let _context_ be CreateDecoratorContextObject(~class~, _className_, _extraInitializers_, _decorationState_).
1. Let _newDef_ be ? Call(_decorator_, _decoratorReceiver_, « _classDef_, _context_ »).
1. Let _newDef_ be Completion(Call(_decorator_, _decoratorReceiver_, « _classDef_, _context_ »)).
1. Set _decorationState_.[[Finished]] to *true*.
1. ReturnIfAbrupt(_newDef_).
1. If IsCallable(_newDef_) is *true*, then
1. Set _classDef_ to _newDef_.
1. Else if _newDef_ is not *undefined*, then
Expand Down

0 comments on commit 84536da

Please sign in to comment.