mirror of https://github.com/tc39/test262.git
Regenerate tests
This commit is contained in:
parent
209845c7b5
commit
bcb6c33387
|
@ -1,22 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/await-escaped.case
|
||||
// - src/identifier-names/default/member-expr.template
|
||||
/*---
|
||||
description: await is a valid identifier name, using escape (MemberExpression IdentifierName)
|
||||
esid: prod-PropertyDefinition
|
||||
flags: [generated]
|
||||
info: |
|
||||
MemberExpression:
|
||||
...
|
||||
MemberExpression . IdentifierName
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
---*/
|
||||
|
||||
var obj = {};
|
||||
|
||||
obj.\u0061wait = 42;
|
||||
|
||||
assert.sameValue(obj['await'], 42, 'property exists');
|
|
@ -1,22 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/instance-escaped.case
|
||||
// - src/identifier-names/default/member-expr.template
|
||||
/*---
|
||||
description: instance is a valid identifier name, using escape (MemberExpression IdentifierName)
|
||||
esid: prod-PropertyDefinition
|
||||
flags: [generated]
|
||||
info: |
|
||||
MemberExpression:
|
||||
...
|
||||
MemberExpression . IdentifierName
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
---*/
|
||||
|
||||
var obj = {};
|
||||
|
||||
obj.\u0069nstance = 42;
|
||||
|
||||
assert.sameValue(obj['instance'], 42, 'property exists');
|
|
@ -1,22 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/yield-escaped.case
|
||||
// - src/identifier-names/default/member-expr.template
|
||||
/*---
|
||||
description: yield is a valid identifier name, using escape (MemberExpression IdentifierName)
|
||||
esid: prod-PropertyDefinition
|
||||
flags: [generated]
|
||||
info: |
|
||||
MemberExpression:
|
||||
...
|
||||
MemberExpression . IdentifierName
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
---*/
|
||||
|
||||
var obj = {};
|
||||
|
||||
obj.y\u0069eld = 42;
|
||||
|
||||
assert.sameValue(obj['yield'], 42, 'property exists');
|
|
@ -1,46 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/await-escaped.case
|
||||
// - src/identifier-names/default/class-expression-method-def.template
|
||||
/*---
|
||||
description: await is a valid identifier name, using escape (MethodDefinition)
|
||||
esid: prod-PropertyDefinition
|
||||
features: [class]
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
MethodDefinition
|
||||
...
|
||||
|
||||
MethodDefinition:
|
||||
PropertyName ( UniqueFormalParameters ){ FunctionBody }
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
var C = class {
|
||||
\u0061wait() { return 42; }
|
||||
}
|
||||
|
||||
var obj = new C();
|
||||
|
||||
assert.sameValue(obj['await'](), 42, 'property exists');
|
|
@ -1,46 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/instance-escaped.case
|
||||
// - src/identifier-names/default/class-expression-method-def.template
|
||||
/*---
|
||||
description: instance is a valid identifier name, using escape (MethodDefinition)
|
||||
esid: prod-PropertyDefinition
|
||||
features: [class]
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
MethodDefinition
|
||||
...
|
||||
|
||||
MethodDefinition:
|
||||
PropertyName ( UniqueFormalParameters ){ FunctionBody }
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
var C = class {
|
||||
\u0069nstance() { return 42; }
|
||||
}
|
||||
|
||||
var obj = new C();
|
||||
|
||||
assert.sameValue(obj['instance'](), 42, 'property exists');
|
|
@ -1,46 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/yield-escaped.case
|
||||
// - src/identifier-names/default/class-expression-method-def.template
|
||||
/*---
|
||||
description: yield is a valid identifier name, using escape (MethodDefinition)
|
||||
esid: prod-PropertyDefinition
|
||||
features: [class]
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
MethodDefinition
|
||||
...
|
||||
|
||||
MethodDefinition:
|
||||
PropertyName ( UniqueFormalParameters ){ FunctionBody }
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
var C = class {
|
||||
y\u0069eld() { return 42; }
|
||||
}
|
||||
|
||||
var obj = new C();
|
||||
|
||||
assert.sameValue(obj['yield'](), 42, 'property exists');
|
|
@ -1,42 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/await-escaped.case
|
||||
// - src/identifier-names/default/obj-method-definition.template
|
||||
/*---
|
||||
description: await is a valid identifier name, using escape (MethodDefinition)
|
||||
esid: prod-PropertyDefinition
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
MethodDefinition
|
||||
...
|
||||
|
||||
MethodDefinition:
|
||||
PropertyName ( UniqueFormalParameters ){ FunctionBody }
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
---*/
|
||||
|
||||
|
||||
var obj = {
|
||||
\u0061wait() { return 42; }
|
||||
};
|
||||
|
||||
assert.sameValue(obj['await'](), 42, 'property exists');
|
|
@ -1,42 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/instance-escaped.case
|
||||
// - src/identifier-names/default/obj-method-definition.template
|
||||
/*---
|
||||
description: instance is a valid identifier name, using escape (MethodDefinition)
|
||||
esid: prod-PropertyDefinition
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
MethodDefinition
|
||||
...
|
||||
|
||||
MethodDefinition:
|
||||
PropertyName ( UniqueFormalParameters ){ FunctionBody }
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
---*/
|
||||
|
||||
|
||||
var obj = {
|
||||
\u0069nstance() { return 42; }
|
||||
};
|
||||
|
||||
assert.sameValue(obj['instance'](), 42, 'property exists');
|
|
@ -1,42 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/yield-escaped.case
|
||||
// - src/identifier-names/default/obj-method-definition.template
|
||||
/*---
|
||||
description: yield is a valid identifier name, using escape (MethodDefinition)
|
||||
esid: prod-PropertyDefinition
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
MethodDefinition
|
||||
...
|
||||
|
||||
MethodDefinition:
|
||||
PropertyName ( UniqueFormalParameters ){ FunctionBody }
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
---*/
|
||||
|
||||
|
||||
var obj = {
|
||||
y\u0069eld() { return 42; }
|
||||
};
|
||||
|
||||
assert.sameValue(obj['yield'](), 42, 'property exists');
|
|
@ -1,41 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/await-escaped.case
|
||||
// - src/identifier-names/default/obj-prop-name.template
|
||||
/*---
|
||||
description: await is a valid identifier name, using escape (PropertyName)
|
||||
esid: prod-PropertyDefinition
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
IdentifierReference
|
||||
PropertyName : AssignmentExpression
|
||||
MethodDefinition
|
||||
... AssignmentExpression
|
||||
...
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
---*/
|
||||
|
||||
var obj = {
|
||||
\u0061wait: 42
|
||||
};
|
||||
|
||||
assert.sameValue(obj['await'], 42, 'property exists');
|
|
@ -1,41 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/instance-escaped.case
|
||||
// - src/identifier-names/default/obj-prop-name.template
|
||||
/*---
|
||||
description: instance is a valid identifier name, using escape (PropertyName)
|
||||
esid: prod-PropertyDefinition
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
IdentifierReference
|
||||
PropertyName : AssignmentExpression
|
||||
MethodDefinition
|
||||
... AssignmentExpression
|
||||
...
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
---*/
|
||||
|
||||
var obj = {
|
||||
\u0069nstance: 42
|
||||
};
|
||||
|
||||
assert.sameValue(obj['instance'], 42, 'property exists');
|
|
@ -1,41 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/yield-escaped.case
|
||||
// - src/identifier-names/default/obj-prop-name.template
|
||||
/*---
|
||||
description: yield is a valid identifier name, using escape (PropertyName)
|
||||
esid: prod-PropertyDefinition
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
IdentifierReference
|
||||
PropertyName : AssignmentExpression
|
||||
MethodDefinition
|
||||
... AssignmentExpression
|
||||
...
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
---*/
|
||||
|
||||
var obj = {
|
||||
y\u0069eld: 42
|
||||
};
|
||||
|
||||
assert.sameValue(obj['yield'], 42, 'property exists');
|
|
@ -1,46 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/await-escaped.case
|
||||
// - src/identifier-names/default/class-statement-method-def.template
|
||||
/*---
|
||||
description: await is a valid identifier name, using escape (MethodDefinition)
|
||||
esid: prod-PropertyDefinition
|
||||
features: [class]
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
MethodDefinition
|
||||
...
|
||||
|
||||
MethodDefinition:
|
||||
PropertyName ( UniqueFormalParameters ){ FunctionBody }
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
class C {
|
||||
\u0061wait() { return 42; }
|
||||
}
|
||||
|
||||
var obj = new C();
|
||||
|
||||
assert.sameValue(obj['await'](), 42, 'property exists');
|
|
@ -1,46 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/instance-escaped.case
|
||||
// - src/identifier-names/default/class-statement-method-def.template
|
||||
/*---
|
||||
description: instance is a valid identifier name, using escape (MethodDefinition)
|
||||
esid: prod-PropertyDefinition
|
||||
features: [class]
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
MethodDefinition
|
||||
...
|
||||
|
||||
MethodDefinition:
|
||||
PropertyName ( UniqueFormalParameters ){ FunctionBody }
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
class C {
|
||||
\u0069nstance() { return 42; }
|
||||
}
|
||||
|
||||
var obj = new C();
|
||||
|
||||
assert.sameValue(obj['instance'](), 42, 'property exists');
|
|
@ -1,46 +0,0 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/identifier-names/yield-escaped.case
|
||||
// - src/identifier-names/default/class-statement-method-def.template
|
||||
/*---
|
||||
description: yield is a valid identifier name, using escape (MethodDefinition)
|
||||
esid: prod-PropertyDefinition
|
||||
features: [class]
|
||||
flags: [generated]
|
||||
info: |
|
||||
ObjectLiteral :
|
||||
{ PropertyDefinitionList }
|
||||
{ PropertyDefinitionList , }
|
||||
|
||||
PropertyDefinitionList:
|
||||
PropertyDefinition
|
||||
PropertyDefinitionList , PropertyDefinition
|
||||
|
||||
PropertyDefinition:
|
||||
MethodDefinition
|
||||
...
|
||||
|
||||
MethodDefinition:
|
||||
PropertyName ( UniqueFormalParameters ){ FunctionBody }
|
||||
|
||||
PropertyName:
|
||||
LiteralPropertyName
|
||||
...
|
||||
|
||||
LiteralPropertyName:
|
||||
IdentifierName
|
||||
...
|
||||
|
||||
Reserved Words
|
||||
|
||||
A reserved word is an IdentifierName that cannot be used as an Identifier.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
class C {
|
||||
y\u0069eld() { return 42; }
|
||||
}
|
||||
|
||||
var obj = new C();
|
||||
|
||||
assert.sameValue(obj['yield'](), 42, 'property exists');
|
Loading…
Reference in New Issue