You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function created for _initializer_ is never directly accessible to ECMAScript code.
@@ -25238,34 +25251,36 @@ <h1>
25238
25251
1. Assert: _element_ is a ClassStaticBlockDefinition Record.
25239
25252
1. Append _element_ to _staticElements_.
25240
25253
1. Set the running execution context's LexicalEnvironment to _env_.
25241
-
1. Let _instanceExtraInitializers_ be a new empty List.
25242
-
1. Let _staticExtraInitializers_ be a new empty List.
25254
+
1. Let _instanceMethodExtraInitializers_ be a new empty List.
25255
+
1. Let _staticMethodExtraInitializers_ be a new empty List.
25243
25256
1. For each element _e_ of _staticElements_, do
25244
25257
1. If _e_ is a ClassElementDefinition Record and _e_.[[Kind]] is not ~field~, then
25245
-
1. Let _result_ be Completion(ApplyDecoratorsAndDefineMethod(_F_, _e_, _staticExtraInitializers_, *true*)).
25258
+
1. If _e_.[[Kind]] is ~accessor~, let _extraInitializers_ be _e_.[[ExtraInitializers]]; otherwise, let _extraInitializers_ be _staticMethodExtraInitializers_.
25259
+
1. Let _result_ be Completion(ApplyDecoratorsAndDefineMethod(_F_, _e_, _extraInitializers_, *true*)).
25246
25260
1. If _result_ is an abrupt completion, then
25247
25261
1. Set the running execution context's PrivateEnvironment to _outerPrivateEnvironment_.
25248
25262
1. Return ? _result_.
25249
25263
1. For each element _e_ of _instanceElements_, do
25250
25264
1. If _e_.[[Kind]] is not ~field~, then
25251
-
1. Let _result_ be Completion(ApplyDecoratorsAndDefineMethod(_proto_, _e_, _instanceExtraInitializers_, *true*)).
25265
+
1. If _e_.[[Kind]] is ~accessor~, let _extraInitializers_ be _e_.[[ExtraInitializers]]; otherwise, let _extraInitializers_ be _instanceMethodExtraInitializers_.
25266
+
1. Let _result_ be Completion(ApplyDecoratorsAndDefineMethod(_proto_, _e_, _extraInitializers_, *false*)).
25252
25267
1. If _result_ is an abrupt completion, then
25253
25268
1. Set the running execution context's PrivateEnvironment to _outerPrivateEnvironment_.
25254
25269
1. Return ? _result_.
25255
25270
1. For each element _e_ of _staticElements_, do
25256
25271
1. If _e_.[[Kind]] is ~field~, then
25257
-
1. Let _result_ be Completion(ApplyDecoratorsToElementDefinition(_F_, _e_, _staticExtraInitializers_, *true*)).
25272
+
1. Let _result_ be Completion(ApplyDecoratorsToElementDefinition(_F_, _e_, _e_.[[ExtraInitializers]], *true*)).
25258
25273
1. If _result_ is an abrupt completion, then
25259
25274
1. Set the running execution context's PrivateEnvironment to _outerPrivateEnvironment_.
25260
25275
1. Return ? _result_.
25261
25276
1. For each element _e_ of _instanceElements_, do
25262
25277
1. If _e_.[[Kind]] is ~field~, then
25263
-
1. Let _result_ be Completion(ApplyDecoratorsToElementDefinition(_proto_, _e_, _instanceExtraInitializers_, *false*)).
25278
+
1. Let _result_ be Completion(ApplyDecoratorsToElementDefinition(_proto_, _e_, _e_.[[ExtraInitializers]], *false*)).
25264
25279
1. If _result_ is an abrupt completion, then
25265
25280
1. Set the running execution context's PrivateEnvironment to _outerPrivateEnvironment_.
25266
25281
1. Return ? _result_.
25267
25282
1. Set _F_.[[Elements]] to _instanceElements_.
25268
-
1. Set _F_.[[Initializers]] to _instanceExtraInitializers_.
25283
+
1. Set _F_.[[Initializers]] to _instanceMethodExtraInitializers_.
0 commit comments