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

Generate tests

parent 20217a7e
No related branches found
No related tags found
No related merge requests found
Showing
with 460 additions and 0 deletions
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-async-gen-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Async Generator Methods cannot be named prototype (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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
var C = class {
static async * prototype() {}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-async-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Async Methods cannot be named prototype (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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
var C = class {
static async prototype() {}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-gen-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Generator Methods cannot be named prototype (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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
var C = class {
static * prototype() {}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-get-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Accessor get Methods cannot be named prototype (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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
var C = class {
static get prototype() {}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Methods cannot be named prototype (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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
var C = class {
static prototype() {}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-set-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
/*---
description: Static Accessor set Methods cannot be named prototype (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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
var C = class {
static set prototype() {}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-async-gen-meth-prototype.case
// - src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template
/*---
description: Static Async Generator Private Methods can be named prototype (class expression)
esid: prod-ClassElement
features: [async-iteration, class-static-methods-private, class]
flags: [generated]
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "prototype"
---*/
var C = class {
static async * #prototype() {}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-async-meth-prototype.case
// - src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template
/*---
description: Static Async Private Methods can be named prototype (class expression)
esid: prod-ClassElement
features: [async-functions, class-static-methods-private, class]
flags: [generated]
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "prototype"
---*/
var C = class {
static async #prototype() {}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-gen-meth-prototype.case
// - src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template
/*---
description: Static Generator Private Methods can be named prototype (class expression)
esid: prod-ClassElement
features: [generators, class-static-methods-private, class]
flags: [generated]
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "prototype"
---*/
var C = class {
static * #prototype() {}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-meth-prototype.case
// - src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template
/*---
description: Static Private Methods can be named prototype (class expression)
esid: prod-ClassElement
features: [class-static-methods-private, class]
flags: [generated]
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "prototype"
---*/
var C = class {
static #prototype() {}
};
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-async-gen-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
/*---
description: Static Async Generator Methods cannot be named prototype (class declaration)
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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
class C {
static async * prototype() {}
}
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-async-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
/*---
description: Static Async Methods cannot be named prototype (class declaration)
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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
class C {
static async prototype() {}
}
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-gen-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
/*---
description: Static Generator Methods cannot be named prototype (class declaration)
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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
class C {
static * prototype() {}
}
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-get-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
/*---
description: Static Accessor get Methods cannot be named prototype (class declaration)
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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
class C {
static get prototype() {}
}
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
/*---
description: Static Methods cannot be named prototype (class declaration)
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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
class C {
static prototype() {}
}
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-set-meth-prototype.case
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
/*---
description: Static Accessor set Methods cannot be named prototype (class declaration)
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 PropName of MethodDefinition is "prototype"
---*/
throw "Test262: This statement should not be evaluated.";
class C {
static set prototype() {}
}
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-async-gen-meth-prototype.case
// - src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template
/*---
description: Static Async Generator Private Methods can be named prototype (class declaration)
esid: prod-ClassElement
features: [async-iteration, class-static-methods-private, class]
flags: [generated]
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "prototype"
---*/
class C {
static async * #prototype() {}
}
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-async-meth-prototype.case
// - src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template
/*---
description: Static Async Private Methods can be named prototype (class declaration)
esid: prod-ClassElement
features: [async-functions, class-static-methods-private, class]
flags: [generated]
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "prototype"
---*/
class C {
static async #prototype() {}
}
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-gen-meth-prototype.case
// - src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template
/*---
description: Static Generator Private Methods can be named prototype (class declaration)
esid: prod-ClassElement
features: [generators, class-static-methods-private, class]
flags: [generated]
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "prototype"
---*/
class C {
static * #prototype() {}
}
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-static-private-meth-prototype.case
// - src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template
/*---
description: Static Private Methods can be named prototype (class declaration)
esid: prod-ClassElement
features: [class-static-methods-private, class]
flags: [generated]
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "prototype"
---*/
class C {
static #prototype() {}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment