mirror of https://github.com/tc39/test262.git
remove old duplicates
This commit is contained in:
parent
7766d0fb66
commit
e28a6f37d0
|
@ -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;
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
}
|
|
Loading…
Reference in New Issue