mirror of
https://github.com/tc39/test262.git
synced 2025-07-30 01:14:56 +02:00
Generate tests
This commit is contained in:
parent
97e051114a
commit
6db0565b76
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
|
// - 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)
|
description: Async function returns an async function. (Named async function expression)
|
||||||
esid: prod-AsyncFunctionExpression
|
esid: prod-AsyncFunctionExpression
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Named async function expression)
|
||||||
esid: prod-AsyncFunctionExpression
|
esid: prod-AsyncFunctionExpression
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow.case
|
// - 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)
|
description: Async function returns an async function. (Named async function expression)
|
||||||
esid: prod-AsyncFunctionExpression
|
esid: prod-AsyncFunctionExpression
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
|
// - 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)
|
description: Async function returns an async function. (Named async function expression)
|
||||||
esid: prod-AsyncFunctionExpression
|
esid: prod-AsyncFunctionExpression
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Named async function expression)
|
||||||
esid: prod-AsyncFunctionExpression
|
esid: prod-AsyncFunctionExpression
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function.case
|
// - 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)
|
description: Async function returns an async function. (Named async function expression)
|
||||||
esid: prod-AsyncFunctionExpression
|
esid: prod-AsyncFunctionExpression
|
||||||
|
@ -36,5 +36,3 @@ var C = class {
|
|||||||
var \u0061wait;
|
var \u0061wait;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = C.method;
|
|
||||||
|
@ -36,5 +36,3 @@ var C = class {
|
|||||||
var await;
|
var await;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = C.method;
|
|
||||||
|
@ -36,5 +36,3 @@ var C = class {
|
|||||||
void \u0061wait;
|
void \u0061wait;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = C.method;
|
|
||||||
|
@ -36,5 +36,3 @@ var C = class {
|
|||||||
void await;
|
void await;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = C.method;
|
|
||||||
|
@ -36,5 +36,3 @@ var C = class {
|
|||||||
\u0061wait: ;
|
\u0061wait: ;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = C.method;
|
|
||||||
|
@ -36,5 +36,3 @@ var C = class {
|
|||||||
await: ;
|
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:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -36,7 +36,4 @@ var C = class {
|
|||||||
var \u0061wait;
|
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;
|
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;
|
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;
|
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: ;
|
\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: ;
|
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:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -32,7 +32,6 @@ var C = class {
|
|||||||
let c = new C();
|
let c = new C();
|
||||||
let asyncFn = c.method.bind(c);
|
let asyncFn = c.method.bind(c);
|
||||||
|
|
||||||
|
|
||||||
asyncFn().then(retFn => {
|
asyncFn().then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -31,7 +31,6 @@ var C = class {
|
|||||||
let c = new C();
|
let c = new C();
|
||||||
let asyncFn = c.method.bind(c);
|
let asyncFn = c.method.bind(c);
|
||||||
|
|
||||||
|
|
||||||
asyncFn().then(retFn => {
|
asyncFn().then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -31,7 +31,6 @@ var C = class {
|
|||||||
let c = new C();
|
let c = new C();
|
||||||
let asyncFn = c.method.bind(c);
|
let asyncFn = c.method.bind(c);
|
||||||
|
|
||||||
|
|
||||||
asyncFn(1).then(retFn => {
|
asyncFn(1).then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -32,7 +32,6 @@ var C = class {
|
|||||||
let c = new C();
|
let c = new C();
|
||||||
let asyncFn = c.method.bind(c);
|
let asyncFn = c.method.bind(c);
|
||||||
|
|
||||||
|
|
||||||
asyncFn(1).then(retFn => {
|
asyncFn(1).then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -31,7 +31,6 @@ var C = class {
|
|||||||
let c = new C();
|
let c = new C();
|
||||||
let asyncFn = c.method.bind(c);
|
let asyncFn = c.method.bind(c);
|
||||||
|
|
||||||
|
|
||||||
asyncFn(1).then(retFn => {
|
asyncFn(1).then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -31,7 +31,6 @@ var C = class {
|
|||||||
let c = new C();
|
let c = new C();
|
||||||
let asyncFn = c.method.bind(c);
|
let asyncFn = c.method.bind(c);
|
||||||
|
|
||||||
|
|
||||||
asyncFn(1).then(retFn => {
|
asyncFn(1).then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -35,9 +35,4 @@ var C = class {
|
|||||||
static async #method() {
|
static async #method() {
|
||||||
var \u0061wait;
|
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() {
|
static async #method() {
|
||||||
var await;
|
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() {
|
static async #method() {
|
||||||
void \u0061wait;
|
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() {
|
static async #method() {
|
||||||
void await;
|
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() {
|
static async #method() {
|
||||||
\u0061wait: ;
|
\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() {
|
static async #method() {
|
||||||
await: ;
|
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:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
|
// - 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)
|
description: Async function returns an async function. (Static private async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Static private async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow.case
|
// - 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)
|
description: Async function returns an async function. (Static private async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
|
// - 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)
|
description: Async function returns an async function. (Static private async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Static private async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function.case
|
// - 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)
|
description: Async function returns an async function. (Static private async method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -35,10 +35,4 @@ var C = class {
|
|||||||
async #method() {
|
async #method() {
|
||||||
var \u0061wait;
|
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() {
|
async #method() {
|
||||||
var await;
|
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() {
|
async #method() {
|
||||||
void \u0061wait;
|
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() {
|
async #method() {
|
||||||
void await;
|
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() {
|
async #method() {
|
||||||
\u0061wait: ;
|
\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() {
|
async #method() {
|
||||||
await: ;
|
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:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
|
// - 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)
|
description: Async function returns an async function. (Async private method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Async private method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow.case
|
// - 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)
|
description: Async function returns an async function. (Async private method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
|
// - 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)
|
description: Async function returns an async function. (Async private method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Async private method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function.case
|
// - 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)
|
description: Async function returns an async function. (Async private method as a ClassExpression element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -30,5 +30,3 @@ var obj = {
|
|||||||
var \u0061wait;
|
var \u0061wait;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = obj.method;
|
|
||||||
|
@ -30,5 +30,3 @@ var obj = {
|
|||||||
var await;
|
var await;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = obj.method;
|
|
||||||
|
@ -30,5 +30,3 @@ var obj = {
|
|||||||
void \u0061wait;
|
void \u0061wait;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = obj.method;
|
|
||||||
|
@ -30,5 +30,3 @@ var obj = {
|
|||||||
void await;
|
void await;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = obj.method;
|
|
||||||
|
@ -30,5 +30,3 @@ var obj = {
|
|||||||
\u0061wait: ;
|
\u0061wait: ;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = obj.method;
|
|
||||||
|
@ -30,5 +30,3 @@ var obj = {
|
|||||||
await: ;
|
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:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
|
// - 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)
|
description: Async function returns an async function. (Async method)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Async method)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow.case
|
// - 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)
|
description: Async function returns an async function. (Async method)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
|
// - 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)
|
description: Async function returns an async function. (Async method)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Async method)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function.case
|
// - 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)
|
description: Async function returns an async function. (Async method)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
|
// - 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)
|
description: Async function returns an async function. (Async function declaration)
|
||||||
esid: prod-AsyncFunctionDeclaration
|
esid: prod-AsyncFunctionDeclaration
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Async function declaration)
|
||||||
esid: prod-AsyncFunctionDeclaration
|
esid: prod-AsyncFunctionDeclaration
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow.case
|
// - 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)
|
description: Async function returns an async function. (Async function declaration)
|
||||||
esid: prod-AsyncFunctionDeclaration
|
esid: prod-AsyncFunctionDeclaration
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
|
// - 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)
|
description: Async function returns an async function. (Async function declaration)
|
||||||
esid: prod-AsyncFunctionDeclaration
|
esid: prod-AsyncFunctionDeclaration
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Async function declaration)
|
||||||
esid: prod-AsyncFunctionDeclaration
|
esid: prod-AsyncFunctionDeclaration
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function.case
|
// - 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)
|
description: Async function returns an async function. (Async function declaration)
|
||||||
esid: prod-AsyncFunctionDeclaration
|
esid: prod-AsyncFunctionDeclaration
|
||||||
|
@ -36,6 +36,4 @@ class C {
|
|||||||
var \u0061wait;
|
var \u0061wait;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = C.method;
|
|
||||||
|
|
||||||
|
@ -36,6 +36,4 @@ class C {
|
|||||||
var await;
|
var await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = C.method;
|
|
||||||
|
|
||||||
|
@ -36,6 +36,4 @@ class C {
|
|||||||
void \u0061wait;
|
void \u0061wait;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = C.method;
|
|
||||||
|
|
||||||
|
@ -36,6 +36,4 @@ class C {
|
|||||||
void await;
|
void await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = C.method;
|
|
||||||
|
|
||||||
|
@ -36,6 +36,4 @@ class C {
|
|||||||
\u0061wait: ;
|
\u0061wait: ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Stores a reference `asyncFn` for case evaluation
|
|
||||||
let asyncFn = C.method;
|
|
||||||
|
|
||||||
|
@ -36,6 +36,4 @@ class C {
|
|||||||
await: ;
|
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:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -31,7 +31,6 @@ class C {
|
|||||||
// Stores a reference `asyncFn` for case evaluation
|
// Stores a reference `asyncFn` for case evaluation
|
||||||
let asyncFn = C.method;
|
let asyncFn = C.method;
|
||||||
|
|
||||||
|
|
||||||
asyncFn().then(retFn => {
|
asyncFn().then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -30,7 +30,6 @@ class C {
|
|||||||
// Stores a reference `asyncFn` for case evaluation
|
// Stores a reference `asyncFn` for case evaluation
|
||||||
let asyncFn = C.method;
|
let asyncFn = C.method;
|
||||||
|
|
||||||
|
|
||||||
asyncFn().then(retFn => {
|
asyncFn().then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -30,7 +30,6 @@ class C {
|
|||||||
// Stores a reference `asyncFn` for case evaluation
|
// Stores a reference `asyncFn` for case evaluation
|
||||||
let asyncFn = C.method;
|
let asyncFn = C.method;
|
||||||
|
|
||||||
|
|
||||||
asyncFn(1).then(retFn => {
|
asyncFn(1).then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -31,7 +31,6 @@ class C {
|
|||||||
// Stores a reference `asyncFn` for case evaluation
|
// Stores a reference `asyncFn` for case evaluation
|
||||||
let asyncFn = C.method;
|
let asyncFn = C.method;
|
||||||
|
|
||||||
|
|
||||||
asyncFn(1).then(retFn => {
|
asyncFn(1).then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -30,7 +30,6 @@ class C {
|
|||||||
// Stores a reference `asyncFn` for case evaluation
|
// Stores a reference `asyncFn` for case evaluation
|
||||||
let asyncFn = C.method;
|
let asyncFn = C.method;
|
||||||
|
|
||||||
|
|
||||||
asyncFn(1).then(retFn => {
|
asyncFn(1).then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function.case
|
// - 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)
|
description: Async function returns an async function. (Static async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
@ -30,7 +30,6 @@ class C {
|
|||||||
// Stores a reference `asyncFn` for case evaluation
|
// Stores a reference `asyncFn` for case evaluation
|
||||||
let asyncFn = C.method;
|
let asyncFn = C.method;
|
||||||
|
|
||||||
|
|
||||||
asyncFn(1).then(retFn => {
|
asyncFn(1).then(retFn => {
|
||||||
count++;
|
count++;
|
||||||
return retFn();
|
return retFn();
|
||||||
|
@ -36,6 +36,3 @@ class C {
|
|||||||
var \u0061wait;
|
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;
|
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;
|
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;
|
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: ;
|
\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: ;
|
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:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-arguments-from-parent-function.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-arrow.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-arguments-from-own-function.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function-returns-newtarget.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/async-functions/returns-async-function.case
|
// - 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)
|
description: Async function returns an async function. (Async method as a ClassDeclaration element)
|
||||||
esid: prod-AsyncMethod
|
esid: prod-AsyncMethod
|
||||||
|
@ -35,10 +35,6 @@ class C {
|
|||||||
static async #method() {
|
static async #method() {
|
||||||
var \u0061wait;
|
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() {
|
static async #method() {
|
||||||
var await;
|
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() {
|
static async #method() {
|
||||||
void \u0061wait;
|
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() {
|
static async #method() {
|
||||||
void await;
|
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
Loading…
x
Reference in New Issue
Block a user