From e28a6f37d0fe0e4d19f09e048916d948b7657922 Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Wed, 5 Sep 2018 18:09:27 -0400 Subject: [PATCH] remove old duplicates --- .../fields-privatename-constructor-err.js | 21 ------------------- .../fields-privatename-constructor-err.js | 20 ------------------ 2 files changed, 41 deletions(-) delete mode 100644 test/language/expressions/class/fields-privatename-constructor-err.js delete mode 100644 test/language/statements/class/fields-privatename-constructor-err.js diff --git a/test/language/expressions/class/fields-privatename-constructor-err.js b/test/language/expressions/class/fields-privatename-constructor-err.js deleted file mode 100644 index 1d5edc39c8..0000000000 --- a/test/language/expressions/class/fields-privatename-constructor-err.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (C) 2017 Valerie Young. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -description: Private class fields early error with StringValue "#constructor" -esid: sec-class-definitions-static-semantics-early-errors -features: [class, class-fields-private] -negative: - phase: parse - type: SyntaxError -info: | - ClassElementName : PrivateName; - It is a Syntax Error if StringValue of PrivateName is "#constructor". ----*/ - - -throw "Test262: This statement should not be evaluated."; - -var C = class { - #constructor; -} diff --git a/test/language/statements/class/fields-privatename-constructor-err.js b/test/language/statements/class/fields-privatename-constructor-err.js deleted file mode 100644 index f373a67d4f..0000000000 --- a/test/language/statements/class/fields-privatename-constructor-err.js +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (C) 2017 Valerie Young. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -description: Private class fields early error with StringValue "#constructor" -esid: sec-class-definitions-static-semantics-early-errors -features: [class, class-fields-private] -negative: - phase: parse - type: SyntaxError -info: | - ClassElementName : PrivateName; - It is a Syntax Error if StringValue of PrivateName is "#constructor". ----*/ - -throw "Test262: This statement should not be evaluated."; - -class C { - #constructor; -}