1
0
mirror of https://github.com/tc39/test262.git synced 2025-04-08 19:35:28 +02:00

Generate tests

This commit is contained in:
Rick Waldron 2020-09-25 17:15:54 -04:00
parent 97e051114a
commit 6db0565b76
120 changed files with 72 additions and 288 deletions
test/language
expressions
async-function
class
async-method-static
async-method
elements
object/method-definition
statements

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
// - src/async-functions/syntax/async-expression-named.template
// - src/async-functions/evaluation/async-expression-named.template
/*---
description: Async function returns an async function. (Named async function expression)
esid: prod-AsyncFunctionExpression

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-newtarget.case
// - src/async-functions/syntax/async-expression-named.template
// - src/async-functions/evaluation/async-expression-named.template
/*---
description: Async function returns an async function. (Named async function expression)
esid: prod-AsyncFunctionExpression

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow.case
// - src/async-functions/syntax/async-expression-named.template
// - src/async-functions/evaluation/async-expression-named.template
/*---
description: Async function returns an async function. (Named async function expression)
esid: prod-AsyncFunctionExpression

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
// - src/async-functions/syntax/async-expression-named.template
// - src/async-functions/evaluation/async-expression-named.template
/*---
description: Async function returns an async function. (Named async function expression)
esid: prod-AsyncFunctionExpression

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-newtarget.case
// - src/async-functions/syntax/async-expression-named.template
// - src/async-functions/evaluation/async-expression-named.template
/*---
description: Async function returns an async function. (Named async function expression)
esid: prod-AsyncFunctionExpression

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function.case
// - src/async-functions/syntax/async-expression-named.template
// - src/async-functions/evaluation/async-expression-named.template
/*---
description: Async function returns an async function. (Named async function expression)
esid: prod-AsyncFunctionExpression

@ -36,5 +36,3 @@ var C = class {
var \u0061wait;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -36,5 +36,3 @@ var C = class {
var await;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -36,5 +36,3 @@ var C = class {
void \u0061wait;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -36,5 +36,3 @@ var C = class {
void await;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -36,5 +36,3 @@ var C = class {
\u0061wait: ;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -36,5 +36,3 @@ var C = class {
await: ;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
// - src/async-functions/syntax/async-class-expr-static-method.template
// - src/async-functions/evaluation/async-class-expr-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-newtarget.case
// - src/async-functions/syntax/async-class-expr-static-method.template
// - src/async-functions/evaluation/async-class-expr-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow.case
// - src/async-functions/syntax/async-class-expr-static-method.template
// - src/async-functions/evaluation/async-class-expr-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
// - src/async-functions/syntax/async-class-expr-static-method.template
// - src/async-functions/evaluation/async-class-expr-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-newtarget.case
// - src/async-functions/syntax/async-class-expr-static-method.template
// - src/async-functions/evaluation/async-class-expr-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function.case
// - src/async-functions/syntax/async-class-expr-static-method.template
// - src/async-functions/evaluation/async-class-expr-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -36,7 +36,4 @@ var C = class {
var \u0061wait;
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -36,7 +36,4 @@ var C = class {
var await;
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -36,7 +36,4 @@ var C = class {
void \u0061wait;
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -36,7 +36,4 @@ var C = class {
void await;
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -36,7 +36,4 @@ var C = class {
\u0061wait: ;
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -36,7 +36,4 @@ var C = class {
await: ;
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
// - src/async-functions/syntax/async-class-expr-method.template
// - src/async-functions/evaluation/async-class-expr-method.template
/*---
description: Async function returns an async function. (Async method as a ClassExpression element)
esid: prod-AsyncMethod
@ -32,7 +32,6 @@ var C = class {
let c = new C();
let asyncFn = c.method.bind(c);
asyncFn().then(retFn => {
count++;
return retFn();

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-newtarget.case
// - src/async-functions/syntax/async-class-expr-method.template
// - src/async-functions/evaluation/async-class-expr-method.template
/*---
description: Async function returns an async function. (Async method as a ClassExpression element)
esid: prod-AsyncMethod
@ -31,7 +31,6 @@ var C = class {
let c = new C();
let asyncFn = c.method.bind(c);
asyncFn().then(retFn => {
count++;
return retFn();

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow.case
// - src/async-functions/syntax/async-class-expr-method.template
// - src/async-functions/evaluation/async-class-expr-method.template
/*---
description: Async function returns an async function. (Async method as a ClassExpression element)
esid: prod-AsyncMethod
@ -31,7 +31,6 @@ var C = class {
let c = new C();
let asyncFn = c.method.bind(c);
asyncFn(1).then(retFn => {
count++;
return retFn();

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
// - src/async-functions/syntax/async-class-expr-method.template
// - src/async-functions/evaluation/async-class-expr-method.template
/*---
description: Async function returns an async function. (Async method as a ClassExpression element)
esid: prod-AsyncMethod
@ -32,7 +32,6 @@ var C = class {
let c = new C();
let asyncFn = c.method.bind(c);
asyncFn(1).then(retFn => {
count++;
return retFn();

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-newtarget.case
// - src/async-functions/syntax/async-class-expr-method.template
// - src/async-functions/evaluation/async-class-expr-method.template
/*---
description: Async function returns an async function. (Async method as a ClassExpression element)
esid: prod-AsyncMethod
@ -31,7 +31,6 @@ var C = class {
let c = new C();
let asyncFn = c.method.bind(c);
asyncFn(1).then(retFn => {
count++;
return retFn();

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function.case
// - src/async-functions/syntax/async-class-expr-method.template
// - src/async-functions/evaluation/async-class-expr-method.template
/*---
description: Async function returns an async function. (Async method as a ClassExpression element)
esid: prod-AsyncMethod
@ -31,7 +31,6 @@ var C = class {
let c = new C();
let asyncFn = c.method.bind(c);
asyncFn(1).then(retFn => {
count++;
return retFn();

@ -35,9 +35,4 @@ var C = class {
static async #method() {
var \u0061wait;
}
static async method() {
return this.#method();
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method.bind(C);

@ -35,9 +35,4 @@ var C = class {
static async #method() {
var await;
}
static async method() {
return this.#method();
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method.bind(C);

@ -35,9 +35,4 @@ var C = class {
static async #method() {
void \u0061wait;
}
static async method() {
return this.#method();
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method.bind(C);

@ -35,9 +35,4 @@ var C = class {
static async #method() {
void await;
}
static async method() {
return this.#method();
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method.bind(C);

@ -35,9 +35,4 @@ var C = class {
static async #method() {
\u0061wait: ;
}
static async method() {
return this.#method();
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method.bind(C);

@ -35,9 +35,4 @@ var C = class {
static async #method() {
await: ;
}
static async method() {
return this.#method();
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method.bind(C);

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
// - src/async-functions/syntax/async-class-expr-static-private-method.template
// - src/async-functions/evaluation/async-class-expr-static-private-method.template
/*---
description: Async function returns an async function. (Static private async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-newtarget.case
// - src/async-functions/syntax/async-class-expr-static-private-method.template
// - src/async-functions/evaluation/async-class-expr-static-private-method.template
/*---
description: Async function returns an async function. (Static private async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow.case
// - src/async-functions/syntax/async-class-expr-static-private-method.template
// - src/async-functions/evaluation/async-class-expr-static-private-method.template
/*---
description: Async function returns an async function. (Static private async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
// - src/async-functions/syntax/async-class-expr-static-private-method.template
// - src/async-functions/evaluation/async-class-expr-static-private-method.template
/*---
description: Async function returns an async function. (Static private async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-newtarget.case
// - src/async-functions/syntax/async-class-expr-static-private-method.template
// - src/async-functions/evaluation/async-class-expr-static-private-method.template
/*---
description: Async function returns an async function. (Static private async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function.case
// - src/async-functions/syntax/async-class-expr-static-private-method.template
// - src/async-functions/evaluation/async-class-expr-static-private-method.template
/*---
description: Async function returns an async function. (Static private async method as a ClassExpression element)
esid: prod-AsyncMethod

@ -35,10 +35,4 @@ var C = class {
async #method() {
var \u0061wait;
}
async method() {
return this.#method();
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -35,10 +35,4 @@ var C = class {
async #method() {
var await;
}
async method() {
return this.#method();
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -35,10 +35,4 @@ var C = class {
async #method() {
void \u0061wait;
}
async method() {
return this.#method();
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -35,10 +35,4 @@ var C = class {
async #method() {
void await;
}
async method() {
return this.#method();
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -35,10 +35,4 @@ var C = class {
async #method() {
\u0061wait: ;
}
async method() {
return this.#method();
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -35,10 +35,4 @@ var C = class {
async #method() {
await: ;
}
async method() {
return this.#method();
}
};
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
// - src/async-functions/syntax/async-class-expr-private-method.template
// - src/async-functions/evaluation/async-class-expr-private-method.template
/*---
description: Async function returns an async function. (Async private method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-newtarget.case
// - src/async-functions/syntax/async-class-expr-private-method.template
// - src/async-functions/evaluation/async-class-expr-private-method.template
/*---
description: Async function returns an async function. (Async private method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow.case
// - src/async-functions/syntax/async-class-expr-private-method.template
// - src/async-functions/evaluation/async-class-expr-private-method.template
/*---
description: Async function returns an async function. (Async private method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
// - src/async-functions/syntax/async-class-expr-private-method.template
// - src/async-functions/evaluation/async-class-expr-private-method.template
/*---
description: Async function returns an async function. (Async private method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-newtarget.case
// - src/async-functions/syntax/async-class-expr-private-method.template
// - src/async-functions/evaluation/async-class-expr-private-method.template
/*---
description: Async function returns an async function. (Async private method as a ClassExpression element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function.case
// - src/async-functions/syntax/async-class-expr-private-method.template
// - src/async-functions/evaluation/async-class-expr-private-method.template
/*---
description: Async function returns an async function. (Async private method as a ClassExpression element)
esid: prod-AsyncMethod

@ -30,5 +30,3 @@ var obj = {
var \u0061wait;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = obj.method;

@ -30,5 +30,3 @@ var obj = {
var await;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = obj.method;

@ -30,5 +30,3 @@ var obj = {
void \u0061wait;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = obj.method;

@ -30,5 +30,3 @@ var obj = {
void await;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = obj.method;

@ -30,5 +30,3 @@ var obj = {
\u0061wait: ;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = obj.method;

@ -30,5 +30,3 @@ var obj = {
await: ;
}
};
// Stores a reference `asyncFn` for case evaluation
let asyncFn = obj.method;

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
// - src/async-functions/syntax/async-obj-method.template
// - src/async-functions/evaluation/async-obj-method.template
/*---
description: Async function returns an async function. (Async method)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-newtarget.case
// - src/async-functions/syntax/async-obj-method.template
// - src/async-functions/evaluation/async-obj-method.template
/*---
description: Async function returns an async function. (Async method)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow.case
// - src/async-functions/syntax/async-obj-method.template
// - src/async-functions/evaluation/async-obj-method.template
/*---
description: Async function returns an async function. (Async method)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
// - src/async-functions/syntax/async-obj-method.template
// - src/async-functions/evaluation/async-obj-method.template
/*---
description: Async function returns an async function. (Async method)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-newtarget.case
// - src/async-functions/syntax/async-obj-method.template
// - src/async-functions/evaluation/async-obj-method.template
/*---
description: Async function returns an async function. (Async method)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function.case
// - src/async-functions/syntax/async-obj-method.template
// - src/async-functions/evaluation/async-obj-method.template
/*---
description: Async function returns an async function. (Async method)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
// - src/async-functions/syntax/async-declaration.template
// - src/async-functions/evaluation/async-declaration.template
/*---
description: Async function returns an async function. (Async function declaration)
esid: prod-AsyncFunctionDeclaration

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-newtarget.case
// - src/async-functions/syntax/async-declaration.template
// - src/async-functions/evaluation/async-declaration.template
/*---
description: Async function returns an async function. (Async function declaration)
esid: prod-AsyncFunctionDeclaration

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow.case
// - src/async-functions/syntax/async-declaration.template
// - src/async-functions/evaluation/async-declaration.template
/*---
description: Async function returns an async function. (Async function declaration)
esid: prod-AsyncFunctionDeclaration

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
// - src/async-functions/syntax/async-declaration.template
// - src/async-functions/evaluation/async-declaration.template
/*---
description: Async function returns an async function. (Async function declaration)
esid: prod-AsyncFunctionDeclaration

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-newtarget.case
// - src/async-functions/syntax/async-declaration.template
// - src/async-functions/evaluation/async-declaration.template
/*---
description: Async function returns an async function. (Async function declaration)
esid: prod-AsyncFunctionDeclaration

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function.case
// - src/async-functions/syntax/async-declaration.template
// - src/async-functions/evaluation/async-declaration.template
/*---
description: Async function returns an async function. (Async function declaration)
esid: prod-AsyncFunctionDeclaration

@ -36,6 +36,4 @@ class C {
var \u0061wait;
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -36,6 +36,4 @@ class C {
var await;
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -36,6 +36,4 @@ class C {
void \u0061wait;
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -36,6 +36,4 @@ class C {
void await;
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -36,6 +36,4 @@ class C {
\u0061wait: ;
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -36,6 +36,4 @@ class C {
await: ;
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
// - src/async-functions/syntax/async-class-decl-static-method.template
// - src/async-functions/evaluation/async-class-decl-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
esid: prod-AsyncMethod
@ -31,7 +31,6 @@ class C {
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;
asyncFn().then(retFn => {
count++;
return retFn();

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-newtarget.case
// - src/async-functions/syntax/async-class-decl-static-method.template
// - src/async-functions/evaluation/async-class-decl-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
esid: prod-AsyncMethod
@ -30,7 +30,6 @@ class C {
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;
asyncFn().then(retFn => {
count++;
return retFn();

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow.case
// - src/async-functions/syntax/async-class-decl-static-method.template
// - src/async-functions/evaluation/async-class-decl-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
esid: prod-AsyncMethod
@ -30,7 +30,6 @@ class C {
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;
asyncFn(1).then(retFn => {
count++;
return retFn();

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
// - src/async-functions/syntax/async-class-decl-static-method.template
// - src/async-functions/evaluation/async-class-decl-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
esid: prod-AsyncMethod
@ -31,7 +31,6 @@ class C {
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;
asyncFn(1).then(retFn => {
count++;
return retFn();

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-newtarget.case
// - src/async-functions/syntax/async-class-decl-static-method.template
// - src/async-functions/evaluation/async-class-decl-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
esid: prod-AsyncMethod
@ -30,7 +30,6 @@ class C {
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;
asyncFn(1).then(retFn => {
count++;
return retFn();

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function.case
// - src/async-functions/syntax/async-class-decl-static-method.template
// - src/async-functions/evaluation/async-class-decl-static-method.template
/*---
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
esid: prod-AsyncMethod
@ -30,7 +30,6 @@ class C {
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method;
asyncFn(1).then(retFn => {
count++;
return retFn();

@ -36,6 +36,3 @@ class C {
var \u0061wait;
}
}
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -36,6 +36,3 @@ class C {
var await;
}
}
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -36,6 +36,3 @@ class C {
void \u0061wait;
}
}
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -36,6 +36,3 @@ class C {
void await;
}
}
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -36,6 +36,3 @@ class C {
\u0061wait: ;
}
}
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -36,6 +36,3 @@ class C {
await: ;
}
}
// Stores a reference `asyncFn` for case evaluation
let c = new C();
let asyncFn = c.method.bind(c);

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
// - src/async-functions/syntax/async-class-decl-method.template
// - src/async-functions/evaluation/async-class-decl-method.template
/*---
description: Async function returns an async function. (Async method as a ClassDeclaration element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow-returns-newtarget.case
// - src/async-functions/syntax/async-class-decl-method.template
// - src/async-functions/evaluation/async-class-decl-method.template
/*---
description: Async function returns an async function. (Async method as a ClassDeclaration element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-arrow.case
// - src/async-functions/syntax/async-class-decl-method.template
// - src/async-functions/evaluation/async-class-decl-method.template
/*---
description: Async function returns an async function. (Async method as a ClassDeclaration element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
// - src/async-functions/syntax/async-class-decl-method.template
// - src/async-functions/evaluation/async-class-decl-method.template
/*---
description: Async function returns an async function. (Async method as a ClassDeclaration element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function-returns-newtarget.case
// - src/async-functions/syntax/async-class-decl-method.template
// - src/async-functions/evaluation/async-class-decl-method.template
/*---
description: Async function returns an async function. (Async method as a ClassDeclaration element)
esid: prod-AsyncMethod

@ -1,6 +1,6 @@
// This file was procedurally generated from the following sources:
// - src/async-functions/returns-async-function.case
// - src/async-functions/syntax/async-class-decl-method.template
// - src/async-functions/evaluation/async-class-decl-method.template
/*---
description: Async function returns an async function. (Async method as a ClassDeclaration element)
esid: prod-AsyncMethod

@ -35,10 +35,6 @@ class C {
static async #method() {
var \u0061wait;
}
static async method() {
return this.#method();
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method.bind(C);

@ -35,10 +35,6 @@ class C {
static async #method() {
var await;
}
static async method() {
return this.#method();
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method.bind(C);

@ -35,10 +35,6 @@ class C {
static async #method() {
void \u0061wait;
}
static async method() {
return this.#method();
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method.bind(C);

@ -35,10 +35,6 @@ class C {
static async #method() {
void await;
}
static async method() {
return this.#method();
}
}
// Stores a reference `asyncFn` for case evaluation
let asyncFn = C.method.bind(C);

Some files were not shown because too many files have changed in this diff Show More