mirror of https://github.com/tc39/test262.git
Generate tests
This commit is contained in:
parent
87e86669c3
commit
7be4e99f80
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-async-generator-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private async generator cannot be escaped (class expression)
|
||||
esid: prod-ClassElement
|
||||
features: [class-methods-private, async-iteration, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName::
|
||||
# IdentifierName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
var C = class {
|
||||
async * \u0023m() { return 42; }
|
||||
};
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-async-method-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private async method cannot be escaped (class expression)
|
||||
esid: prod-ClassElement
|
||||
features: [class-methods-private, async-functions, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName::
|
||||
# IdentifierName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
var C = class {
|
||||
async \u0023m() { return 42; }
|
||||
};
|
|
@ -0,0 +1,33 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-call-exp-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private reference cannot be escaped (class expression)
|
||||
esid: prod-ClassElement
|
||||
features: [class-fields-private, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName ::
|
||||
# IdentifierName
|
||||
|
||||
MemberExpression :
|
||||
MemberExpression . PrivateName
|
||||
|
||||
CallExpression :
|
||||
CallExpression . PrivateName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
var C = class {
|
||||
method() {
|
||||
foo().\u0023field;
|
||||
}
|
||||
};
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-field-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private field cannot be escaped (class expression)
|
||||
esid: prod-ClassElement
|
||||
features: [class-fields-private, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName::
|
||||
# IdentifierName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
var C = class {
|
||||
\u0023field;
|
||||
};
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-generator-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private generator cannot be escaped (class expression)
|
||||
esid: prod-ClassElement
|
||||
features: [class-methods-private, generators, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName::
|
||||
# IdentifierName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
var C = class {
|
||||
* \u0023m() { return 42; }
|
||||
};
|
|
@ -0,0 +1,33 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-member-exp-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private reference cannot be escaped (class expression)
|
||||
esid: prod-ClassElement
|
||||
features: [class-fields-private, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName ::
|
||||
# IdentifierName
|
||||
|
||||
MemberExpression :
|
||||
MemberExpression . PrivateName
|
||||
|
||||
CallExpression :
|
||||
CallExpression . PrivateName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
var C = class {
|
||||
method() {
|
||||
this.\u0023field;
|
||||
}
|
||||
};
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-method-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private method cannot be escaped (class expression)
|
||||
esid: prod-ClassElement
|
||||
features: [class-methods-private, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName::
|
||||
# IdentifierName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
var C = class {
|
||||
\u0023m() { return 42; }
|
||||
};
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-async-generator-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private async generator cannot be escaped (class declaration)
|
||||
esid: prod-ClassElement
|
||||
features: [class-methods-private, async-iteration, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName::
|
||||
# IdentifierName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
class C {
|
||||
async * \u0023m() { return 42; }
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-async-method-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private async method cannot be escaped (class declaration)
|
||||
esid: prod-ClassElement
|
||||
features: [class-methods-private, async-functions, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName::
|
||||
# IdentifierName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
class C {
|
||||
async \u0023m() { return 42; }
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-call-exp-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private reference cannot be escaped (class declaration)
|
||||
esid: prod-ClassElement
|
||||
features: [class-fields-private, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName ::
|
||||
# IdentifierName
|
||||
|
||||
MemberExpression :
|
||||
MemberExpression . PrivateName
|
||||
|
||||
CallExpression :
|
||||
CallExpression . PrivateName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
class C {
|
||||
method() {
|
||||
foo().\u0023field;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-field-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private field cannot be escaped (class declaration)
|
||||
esid: prod-ClassElement
|
||||
features: [class-fields-private, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName::
|
||||
# IdentifierName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
class C {
|
||||
\u0023field;
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-generator-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private generator cannot be escaped (class declaration)
|
||||
esid: prod-ClassElement
|
||||
features: [class-methods-private, generators, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName::
|
||||
# IdentifierName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
class C {
|
||||
* \u0023m() { return 42; }
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-member-exp-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private reference cannot be escaped (class declaration)
|
||||
esid: prod-ClassElement
|
||||
features: [class-fields-private, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName ::
|
||||
# IdentifierName
|
||||
|
||||
MemberExpression :
|
||||
MemberExpression . PrivateName
|
||||
|
||||
CallExpression :
|
||||
CallExpression . PrivateName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
class C {
|
||||
method() {
|
||||
this.\u0023field;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/private-method-cannot-escape-token.case
|
||||
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: The pound signal in the private method cannot be escaped (class declaration)
|
||||
esid: prod-ClassElement
|
||||
features: [class-methods-private, class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
PrivateName::
|
||||
# IdentifierName
|
||||
|
||||
U+0023 is the escape sequence for #
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
class C {
|
||||
\u0023m() { return 42; }
|
||||
}
|
Loading…
Reference in New Issue