regenerate files

This commit is contained in:
Valerie R Young 2017-10-31 14:49:00 -04:00
parent 889857ccb5
commit 4828ce08a3
24 changed files with 216 additions and 24 deletions

View File

@ -2,7 +2,7 @@
// - src/class-fields/propname-constructor.case
// - src/class-fields/propname-error/cls-expr-computed-name.template
/*---
description: Static class fields cannot have PropName 'constructor' (computed)
description: class fields forbid PropName 'constructor' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-constructor.case
// - src/class-fields/propname-error/cls-expr-computed-name.template
/*---
description: Static class field cannot have PropName 'constructor' (computed)
description: static class field forbid PropName 'constructor' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-prototype.case
// - src/class-fields/propname-error/cls-expr-computed-name.template
/*---
description: Static class fields cannot have PropName 'prototype' (computed)
description: static class fields forbid PropName 'prototype' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -0,0 +1,32 @@
// This file was procedurally generated from the following sources:
// - src/class-fields/propname-constructor.case
// - src/class-fields/propname-error/cls-expr-variable-name.template
/*---
description: class fields forbid PropName 'constructor' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
info: |
Static Semantics: PropName
...
ComputedPropertyName : [ AssignmentExpression ]
Return empty.
// This test file tests the following early error:
Static Semantics: Early Errors
ClassElement : FieldDefinition;
It is a Syntax Error if PropName of FieldDefinition is "constructor".
---*/
var constructor = 'foo';
var C = class {
[constructor];
}
var c = new C();
assert.sameValue(c.hasOwnProperty("foo"), true);

View File

@ -0,0 +1,32 @@
// This file was procedurally generated from the following sources:
// - src/class-fields/static-propname-constructor.case
// - src/class-fields/propname-error/cls-expr-variable-name.template
/*---
description: static class field forbid PropName 'constructor' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
info: |
Static Semantics: PropName
...
ComputedPropertyName : [ AssignmentExpression ]
Return empty.
// This test file tests the following early error:
Static Semantics: Early Errors
ClassElement : staticFieldDefinition;
It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
---*/
var constructor = 'foo';
var C = class {
static [constructor];
}
var c = new C();
assert.sameValue(c.hasOwnProperty("foo"), true);

View File

@ -0,0 +1,32 @@
// This file was procedurally generated from the following sources:
// - src/class-fields/static-propname-prototype.case
// - src/class-fields/propname-error/cls-expr-variable-name.template
/*---
description: static class fields forbid PropName 'prototype' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
info: |
Static Semantics: PropName
...
ComputedPropertyName : [ AssignmentExpression ]
Return empty.
// This test file tests the following early error:
Static Semantics: Early Errors
ClassElement : staticFieldDefinition;
It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
---*/
var prototype = 'foo';
var C = class {
static [prototype];
}
var c = new C();
assert.sameValue(c.hasOwnProperty("foo"), true);

View File

@ -2,7 +2,7 @@
// - src/class-fields/propname-constructor.case
// - src/class-fields/propname-error/cls-expr-literal-name.template
/*---
description: Static class fields cannot have PropName 'constructor' (literal name)
description: class fields forbid PropName 'constructor' (early error -- PropName of IdentifierName is forbidden)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-constructor.case
// - src/class-fields/propname-error/cls-expr-literal-name.template
/*---
description: Static class field cannot have PropName 'constructor' (literal name)
description: static class field forbid PropName 'constructor' (early error -- PropName of IdentifierName is forbidden)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-prototype.case
// - src/class-fields/propname-error/cls-expr-literal-name.template
/*---
description: Static class fields cannot have PropName 'prototype' (literal name)
description: static class fields forbid PropName 'prototype' (early error -- PropName of IdentifierName is forbidden)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/class-fields/propname-constructor.case
// - src/class-fields/propname-error/cls-expr-string-name.template
/*---
description: Static class fields cannot have PropName 'constructor' (string name)
description: class fields forbid PropName 'constructor' (early error -- PropName of StringLiteral is forbidden)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
@ -12,7 +12,7 @@ negative:
info: |
Static Semantics: PropName
...
LiteralPropertyName:StringLiteral
LiteralPropertyName : StringLiteral
Return the String value whose code units are the SV of the StringLiteral.

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-constructor.case
// - src/class-fields/propname-error/cls-expr-string-name.template
/*---
description: Static class field cannot have PropName 'constructor' (string name)
description: static class field forbid PropName 'constructor' (early error -- PropName of StringLiteral is forbidden)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
@ -12,7 +12,7 @@ negative:
info: |
Static Semantics: PropName
...
LiteralPropertyName:StringLiteral
LiteralPropertyName : StringLiteral
Return the String value whose code units are the SV of the StringLiteral.

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-prototype.case
// - src/class-fields/propname-error/cls-expr-string-name.template
/*---
description: Static class fields cannot have PropName 'prototype' (string name)
description: static class fields forbid PropName 'prototype' (early error -- PropName of StringLiteral is forbidden)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
@ -12,7 +12,7 @@ negative:
info: |
Static Semantics: PropName
...
LiteralPropertyName:StringLiteral
LiteralPropertyName : StringLiteral
Return the String value whose code units are the SV of the StringLiteral.

View File

@ -2,7 +2,7 @@
// - src/class-fields/propname-constructor.case
// - src/class-fields/propname-error/cls-decl-computed-name.template
/*---
description: Static class fields cannot have PropName 'constructor' (computed)
description: class fields forbid PropName 'constructor' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-constructor.case
// - src/class-fields/propname-error/cls-decl-computed-name.template
/*---
description: Static class field cannot have PropName 'constructor' (computed)
description: static class field forbid PropName 'constructor' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-prototype.case
// - src/class-fields/propname-error/cls-decl-computed-name.template
/*---
description: Static class fields cannot have PropName 'prototype' (computed)
description: static class fields forbid PropName 'prototype' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -0,0 +1,32 @@
// This file was procedurally generated from the following sources:
// - src/class-fields/propname-constructor.case
// - src/class-fields/propname-error/cls-decl-variable-name.template
/*---
description: class fields forbid PropName 'constructor' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
info: |
Static Semantics: PropName
...
ComputedPropertyName : [ AssignmentExpression ]
Return empty.
// This test file tests the following early error:
Static Semantics: Early Errors
ClassElement : FieldDefinition;
It is a Syntax Error if PropName of FieldDefinition is "constructor".
---*/
var constructor = 'foo';
class C {
[constructor];
}
var c = new C();
assert.sameValue(c.hasOwnProperty("foo"), true);

View File

@ -0,0 +1,32 @@
// This file was procedurally generated from the following sources:
// - src/class-fields/static-propname-constructor.case
// - src/class-fields/propname-error/cls-decl-variable-name.template
/*---
description: static class field forbid PropName 'constructor' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
info: |
Static Semantics: PropName
...
ComputedPropertyName : [ AssignmentExpression ]
Return empty.
// This test file tests the following early error:
Static Semantics: Early Errors
ClassElement : staticFieldDefinition;
It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
---*/
var constructor = 'foo';
class C {
static [constructor];
}
var c = new C();
assert.sameValue(c.hasOwnProperty("foo"), true);

View File

@ -0,0 +1,32 @@
// This file was procedurally generated from the following sources:
// - src/class-fields/static-propname-prototype.case
// - src/class-fields/propname-error/cls-decl-variable-name.template
/*---
description: static class fields forbid PropName 'prototype' (no early error -- PropName of ComputedPropertyName not forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
info: |
Static Semantics: PropName
...
ComputedPropertyName : [ AssignmentExpression ]
Return empty.
// This test file tests the following early error:
Static Semantics: Early Errors
ClassElement : staticFieldDefinition;
It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
---*/
var prototype = 'foo';
class C {
static [prototype];
}
var c = new C();
assert.sameValue(c.hasOwnProperty("foo"), true);

View File

@ -2,7 +2,7 @@
// - src/class-fields/propname-constructor.case
// - src/class-fields/propname-error/cls-decl-literal-name.template
/*---
description: Static class fields cannot have PropName 'constructor' (literal name)
description: class fields forbid PropName 'constructor' (early error -- PropName of IdentifierName is forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-constructor.case
// - src/class-fields/propname-error/cls-decl-literal-name.template
/*---
description: Static class field cannot have PropName 'constructor' (literal name)
description: static class field forbid PropName 'constructor' (early error -- PropName of IdentifierName is forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-prototype.case
// - src/class-fields/propname-error/cls-decl-literal-name.template
/*---
description: Static class fields cannot have PropName 'prototype' (literal name)
description: static class fields forbid PropName 'prototype' (early error -- PropName of IdentifierName is forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]

View File

@ -2,7 +2,7 @@
// - src/class-fields/propname-constructor.case
// - src/class-fields/propname-error/cls-decl-string-name.template
/*---
description: Static class fields cannot have PropName 'constructor' (string name)
description: class fields forbid PropName 'constructor' (early error -- PropName of StringLiteral is forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
@ -12,7 +12,7 @@ negative:
info: |
Static Semantics: PropName
...
LiteralPropertyName:StringLiteral
LiteralPropertyName : StringLiteral
Return the String value whose code units are the SV of the StringLiteral.

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-constructor.case
// - src/class-fields/propname-error/cls-decl-string-name.template
/*---
description: Static class field cannot have PropName 'constructor' (string name)
description: static class field forbid PropName 'constructor' (early error -- PropName of StringLiteral is forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
@ -12,7 +12,7 @@ negative:
info: |
Static Semantics: PropName
...
LiteralPropertyName:StringLiteral
LiteralPropertyName : StringLiteral
Return the String value whose code units are the SV of the StringLiteral.

View File

@ -2,7 +2,7 @@
// - src/class-fields/static-propname-prototype.case
// - src/class-fields/propname-error/cls-decl-string-name.template
/*---
description: Static class fields cannot have PropName 'prototype' (string name)
description: static class fields forbid PropName 'prototype' (early error -- PropName of StringLiteral is forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields]
flags: [generated]
@ -12,7 +12,7 @@ negative:
info: |
Static Semantics: PropName
...
LiteralPropertyName:StringLiteral
LiteralPropertyName : StringLiteral
Return the String value whose code units are the SV of the StringLiteral.