From d2f7d4285c4a5267f5be37a9c823a397daadad1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Heine=20n=C3=A9=20Lang?= Date: Tue, 12 May 2020 01:54:11 +0200 Subject: [PATCH] Fix feature flag in private-method-referenced-from-static-method (#2621) --- .../private-method-referenced-from-static-method.case | 2 +- .../elements/private-method-referenced-from-static-method.js | 2 +- .../elements/private-method-referenced-from-static-method.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/class-elements/private-method-referenced-from-static-method.case b/src/class-elements/private-method-referenced-from-static-method.case index 60cb79218e..1df9ef7fe3 100644 --- a/src/class-elements/private-method-referenced-from-static-method.case +++ b/src/class-elements/private-method-referenced-from-static-method.case @@ -18,7 +18,7 @@ info: | 1. If O.[[PrivateBrands]] does not contain an entry e such that SameValue(e, P.[[Brand]]) is true, a. Throw a TypeError exception. template: default -features: [class-static-methods-private] +features: [class-methods-private] ---*/ //- elements diff --git a/test/language/expressions/class/elements/private-method-referenced-from-static-method.js b/test/language/expressions/class/elements/private-method-referenced-from-static-method.js index a84051199c..e4ee3e3e8a 100644 --- a/test/language/expressions/class/elements/private-method-referenced-from-static-method.js +++ b/test/language/expressions/class/elements/private-method-referenced-from-static-method.js @@ -4,7 +4,7 @@ /*--- description: Private method referenced from a static method (field definitions in a class expression) esid: prod-FieldDefinition -features: [class-static-methods-private, class] +features: [class-methods-private, class] flags: [generated] info: | PrivateFieldGet (P, O) diff --git a/test/language/statements/class/elements/private-method-referenced-from-static-method.js b/test/language/statements/class/elements/private-method-referenced-from-static-method.js index a2294c007c..4a8f0cf7f0 100644 --- a/test/language/statements/class/elements/private-method-referenced-from-static-method.js +++ b/test/language/statements/class/elements/private-method-referenced-from-static-method.js @@ -4,7 +4,7 @@ /*--- description: Private method referenced from a static method (field definitions in a class declaration) esid: prod-FieldDefinition -features: [class-static-methods-private, class] +features: [class-methods-private, class] flags: [generated] info: | PrivateFieldGet (P, O)