Skip to content

Commit e9bed76

Browse files
committed
Remove --experimentalAsyncFunctions from tests
1 parent 92f1b48 commit e9bed76

File tree

51 files changed

+0
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+0
-51
lines changed

tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction10_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43

54
var foo = async foo(): Promise<void> => {
65
// Legal to use 'await' in a type context.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43

54
var foo = async (): Promise<void> => {
65
};
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
var f = (await) => {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
function f(await = await) {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
var await = () => {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43

54
var foo = async (await): Promise<void> => {
65
}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43

54
var foo = async (a = await): Promise<void> => {
65
}

tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction7_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43

54
var bar = async (): Promise<void> => {
65
// 'await' here is an identifier, and not an await expression.

tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunction8_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43

54
var foo = async (): Promise<void> => {
65
var v = { [await]: foo }
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
var foo = async (a = await => await): Promise<void> => {
54
}

tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunctionCapturesArguments_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
class C {
54
method() {
65
function other() {}

tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunctionCapturesThis_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
class C {
54
method() {
65
var fn = async () => await this;

tests/cases/conformance/async/es6/asyncAwaitIsolatedModules_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @isolatedModules: true
3-
// @experimentalAsyncFunctions: true
43
import { MyPromise } from "missing";
54

65
declare var p: Promise<number>;

tests/cases/conformance/async/es6/asyncAwait_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
2-
// @experimentalAsyncFunctions: true
32
type MyPromise<T> = Promise<T>;
43
declare var MyPromise: typeof Promise;
54
declare var p: Promise<number>;
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async class C {
54
}

tests/cases/conformance/async/es6/asyncConstructor_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
class C {
54
async constructor() {
65
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare async function foo(): Promise<void>;
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async enum E {
54
Value
65
}

tests/cases/conformance/async/es6/asyncGetter_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
class C {
54
async get foo() {
65
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async interface I {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async module M {
54
}

tests/cases/conformance/async/es6/asyncSetter_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
class C {
54
async set foo(value) {
65
}

tests/cases/conformance/async/es6/awaitBinaryExpression/awaitBinaryExpression1_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
async function func(): Promise<void> {

tests/cases/conformance/async/es6/awaitBinaryExpression/awaitBinaryExpression2_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
async function func(): Promise<void> {

tests/cases/conformance/async/es6/awaitBinaryExpression/awaitBinaryExpression3_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: number;
54
declare var p: Promise<number>;
65
async function func(): Promise<void> {

tests/cases/conformance/async/es6/awaitBinaryExpression/awaitBinaryExpression4_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
async function func(): Promise<void> {

tests/cases/conformance/async/es6/awaitBinaryExpression/awaitBinaryExpression5_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
async function func(): Promise<void> {

tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression1_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;

tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression2_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;

tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression3_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;

tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression4_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;

tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression5_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;

tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression6_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;

tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression7_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;

tests/cases/conformance/async/es6/awaitCallExpression/awaitCallExpression8_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare var a: boolean;
54
declare var p: Promise<boolean>;
65
declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void;

tests/cases/conformance/async/es6/awaitUnion_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare let a: number | string;
54
declare let b: PromiseLike<number> | PromiseLike<string>;
65
declare let c: PromiseLike<number | string>;
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async function foo(a = await => await): Promise<void> {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async function await(): Promise<void> {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
var v = async function await(): Promise<void> { }

tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration13_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async function foo(): Promise<void> {
54
// Legal to use 'await' in a type context.
65
var v: await;
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async function foo(): Promise<void> {
54
return;
65
}

tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration15_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
declare class Thenable { then(): void; }
54
declare let a: any;
65
declare let obj: { then: string; };
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async function foo(): Promise<void> {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
function f(await) {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
function f(await = await) {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
function await() {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async function foo(await): Promise<void> {
54
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async function foo(a = await): Promise<void> {
54
}

tests/cases/conformance/async/es6/functionDeclarations/asyncFunctionDeclaration7_es6.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async function bar(): Promise<void> {
54
// 'await' here is an identifier, and not a yield expression.
65
async function foo(a = await): Promise<void> {
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
var v = { [await]: foo }
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// @target: ES6
22
// @noEmitHelpers: true
3-
// @experimentalAsyncFunctions: true
43
async function foo(): Promise<void> {
54
var v = { [await]: foo }
65
}

0 commit comments

Comments
 (0)