remove old duplicates

This commit is contained in:
Leo Balter 2018-09-05 18:09:27 -04:00 committed by Rick Waldron
parent 7766d0fb66
commit e28a6f37d0
2 changed files with 0 additions and 41 deletions

View File

@ -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;
}

View File

@ -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;
}