From edafc79523f6ed923566b8e003984e6e272ce2c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Thu, 19 Sep 2019 16:48:06 +0200 Subject: [PATCH] Add missing feature to prod-private-method-initialize-order.case (#2354) --- src/class-elements/prod-private-method-initialize-order.case | 2 +- .../private-methods/prod-private-method-initialize-order.js | 2 +- .../private-methods/prod-private-method-initialize-order.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/class-elements/prod-private-method-initialize-order.case b/src/class-elements/prod-private-method-initialize-order.case index 96c6f71f8e..d995ac867e 100644 --- a/src/class-elements/prod-private-method-initialize-order.case +++ b/src/class-elements/prod-private-method-initialize-order.case @@ -19,7 +19,7 @@ info: | Value properties are added before initializers so that private methods are visible from all initializers. template: private-methods -features: [class-methods-private, class-fields-private] +features: [class-methods-private, class-fields-private, class-fields-public] ---*/ //- element diff --git a/test/language/expressions/class/elements/private-methods/prod-private-method-initialize-order.js b/test/language/expressions/class/elements/private-methods/prod-private-method-initialize-order.js index cf2e1198af..1eccf62f43 100644 --- a/test/language/expressions/class/elements/private-methods/prod-private-method-initialize-order.js +++ b/test/language/expressions/class/elements/private-methods/prod-private-method-initialize-order.js @@ -4,7 +4,7 @@ /*--- description: Private methods are added before any field initializer is run, even if they appear textually later (private method definitions in a class expression) esid: prod-MethodDefinition -features: [class-methods-private, class-fields-private, class] +features: [class-methods-private, class-fields-private, class-fields-public, class] flags: [generated] info: | ClassElement : diff --git a/test/language/statements/class/elements/private-methods/prod-private-method-initialize-order.js b/test/language/statements/class/elements/private-methods/prod-private-method-initialize-order.js index 8cd37cb34e..51f70e2b6c 100644 --- a/test/language/statements/class/elements/private-methods/prod-private-method-initialize-order.js +++ b/test/language/statements/class/elements/private-methods/prod-private-method-initialize-order.js @@ -4,7 +4,7 @@ /*--- description: Private methods are added before any field initializer is run, even if they appear textually later (private method definitions in a class declaration) esid: prod-MethodDefinition -features: [class-methods-private, class-fields-private, class] +features: [class-methods-private, class-fields-private, class-fields-public, class] flags: [generated] info: | ClassElement :