Skip to content
Snippets Groups Projects
Commit ee9739c6 authored by Leo Balter's avatar Leo Balter Committed by Rick Waldron
Browse files

Generate tests

parent df147573
No related branches found
No related tags found
No related merge requests found
Showing
with 280 additions and 10 deletions
...@@ -20,7 +20,7 @@ info: | ...@@ -20,7 +20,7 @@ info: |
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class extends Function{
async * method() { async * method() {
super(); super();
} }
......
...@@ -20,7 +20,7 @@ info: | ...@@ -20,7 +20,7 @@ info: |
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class extends Function{
async method() { async method() {
super(); super();
} }
......
...@@ -20,7 +20,7 @@ info: | ...@@ -20,7 +20,7 @@ info: |
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class extends Function{
* method() { * method() {
super(); super();
} }
......
...@@ -20,7 +20,7 @@ info: | ...@@ -20,7 +20,7 @@ info: |
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class extends Function{
get method() { get method() {
super(); super();
} }
......
...@@ -20,7 +20,7 @@ info: | ...@@ -20,7 +20,7 @@ info: |
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class extends Function{
method() { method() {
super(); super();
} }
......
...@@ -20,7 +20,7 @@ info: | ...@@ -20,7 +20,7 @@ info: |
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class extends Function{
async * #method() { async * #method() {
super(); super();
} }
......
...@@ -20,7 +20,7 @@ info: | ...@@ -20,7 +20,7 @@ info: |
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class extends Function{
async #method() { async #method() {
super(); super();
} }
......
...@@ -20,7 +20,7 @@ info: | ...@@ -20,7 +20,7 @@ info: |
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class extends Function{
* #method() { * #method() {
super(); super();
} }
......
...@@ -20,7 +20,7 @@ info: | ...@@ -20,7 +20,7 @@ info: |
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class extends Function{
#method() { #method() {
super(); super();
} }
......
...@@ -20,7 +20,7 @@ info: | ...@@ -20,7 +20,7 @@ info: |
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class extends Function{
set method(_) { set method(_) {
super(); super();
} }
......
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-async-gen-meth-super.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Async Generator Methods cannot contain direct super (class expression)
esid: prod-ClassElement
features: [async-iteration, class]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if HasDirectSuper of MethodDefinition is true.
---*/
throw "Test262: This statement should not be evaluated.";
var C = class extends Function{
static async * method() {
super();
}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-async-meth-super.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Async Methods cannot contain direct super (class expression)
esid: prod-ClassElement
features: [async-functions, class]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if HasDirectSuper of MethodDefinition is true.
---*/
throw "Test262: This statement should not be evaluated.";
var C = class extends Function{
static async method() {
super();
}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-gen-meth-super.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Generator Methods cannot contain direct super (class expression)
esid: prod-ClassElement
features: [generators, class]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if HasDirectSuper of MethodDefinition is true.
---*/
throw "Test262: This statement should not be evaluated.";
var C = class extends Function{
static * method() {
super();
}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-get-meth-super.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Accessor get Methods cannot contain direct super (class expression)
esid: prod-ClassElement
features: [class]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if HasDirectSuper of MethodDefinition is true.
---*/
throw "Test262: This statement should not be evaluated.";
var C = class extends Function{
static get method() {
super();
}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-meth-super.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Methods cannot contain direct super (class expression)
esid: prod-ClassElement
features: [class]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if HasDirectSuper of MethodDefinition is true.
---*/
throw "Test262: This statement should not be evaluated.";
var C = class extends Function{
static method() {
super();
}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-async-gen-meth-super.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Async Generator Private Methods cannot contain direct super (class expression)
esid: prod-ClassElement
features: [async-iteration, class-static-methods-private, class]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if HasDirectSuper of MethodDefinition is true.
---*/
throw "Test262: This statement should not be evaluated.";
var C = class extends Function{
static async * #method() {
super();
}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-async-meth-super.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Async Private Methods cannot contain direct super (class expression)
esid: prod-ClassElement
features: [async-functions, class-static-methods-private, class]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if HasDirectSuper of MethodDefinition is true.
---*/
throw "Test262: This statement should not be evaluated.";
var C = class extends Function{
static async #method() {
super();
}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-gen-meth-super.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Generator Private Methods cannot contain direct super (class expression)
esid: prod-ClassElement
features: [generators, class-static-methods-private, class]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if HasDirectSuper of MethodDefinition is true.
---*/
throw "Test262: This statement should not be evaluated.";
var C = class extends Function{
static * #method() {
super();
}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-meth-super.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Private Methods cannot contain direct super (class expression)
esid: prod-ClassElement
features: [class-static-methods-private, class]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if HasDirectSuper of MethodDefinition is true.
---*/
throw "Test262: This statement should not be evaluated.";
var C = class extends Function{
static #method() {
super();
}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-set-meth-super.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Accessor set Methods cannot contain direct super (class expression)
esid: prod-ClassElement
features: [class]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if HasDirectSuper of MethodDefinition is true.
---*/
throw "Test262: This statement should not be evaluated.";
var C = class extends Function{
static set method(_) {
super();
}
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment