Home
last modified time | relevance | path

Searched refs:await (Results 1 – 25 of 1296) sorted by relevance

12345678910>>...52

/third_party/typescript/tests/baselines/reference/
DclassStaticBlock22(target=esnext).types2 let await: "any";
3 >await : "any"
9 let await: any; // illegal, cannot declare a new binding for await
10 >await : any
13 let { await } = {} as any; // illegal, cannot declare a new binding for await
14 >await : any
19 let { await: other } = {} as any; // legal
20 >await : any
26 let await; // illegal, cannot declare a new binding for await
27 >await : any
[all …]
DclassStaticBlock22(target=es2022).types2 let await: "any";
3 >await : "any"
9 let await: any; // illegal, cannot declare a new binding for await
10 >await : any
13 let { await } = {} as any; // illegal, cannot declare a new binding for await
14 >await : any
19 let { await: other } = {} as any; // legal
20 >await : any
26 let await; // illegal, cannot declare a new binding for await
27 >await : any
[all …]
DtopLevelAwait.1(module=esnext,target=es2017).types6 await x;
7 >await x : 1
10 // reparse element access as await
11 await [x];
12 >await [x] : number[]
16 await [x, x];
17 >await [x, x] : number[]
22 // reparse call as await
26 await (x);
27 >await (x) : 1
[all …]
DtopLevelAwait.1(module=es2022,target=es2017).types6 await x;
7 >await x : 1
10 // reparse element access as await
11 await [x];
12 >await [x] : number[]
16 await [x, x];
17 >await [x, x] : number[]
22 // reparse call as await
26 await (x);
27 >await (x) : 1
[all …]
DtopLevelAwait.1(module=es2022,target=es2015).types6 await x;
7 >await x : 1
10 // reparse element access as await
11 await [x];
12 >await [x] : number[]
16 await [x, x];
17 >await [x, x] : number[]
22 // reparse call as await
26 await (x);
27 >await (x) : 1
[all …]
DtopLevelAwait.1(module=system,target=es2017).types6 await x;
7 >await x : 1
10 // reparse element access as await
11 await [x];
12 >await [x] : number[]
16 await [x, x];
17 >await [x, x] : number[]
22 // reparse call as await
26 await (x);
27 >await (x) : 1
[all …]
DtopLevelAwait.1(module=system,target=es2015).types6 await x;
7 >await x : 1
10 // reparse element access as await
11 await [x];
12 >await [x] : number[]
16 await [x, x];
17 >await [x, x] : number[]
22 // reparse call as await
26 await (x);
27 >await (x) : 1
[all …]
DtopLevelAwait.1(module=esnext,target=es2015).types6 await x;
7 >await x : 1
10 // reparse element access as await
11 await [x];
12 >await [x] : number[]
16 await [x, x];
17 >await [x, x] : number[]
22 // reparse call as await
26 await (x);
27 >await (x) : 1
[all …]
Des5-asyncFunctionBinaryExpressions.types13 (await x) + y;
14 >(await x) + y : any
15 >(await x) : any
16 >await x : any
24 x + await y;
25 >x + await y : any
27 >await y : any
34 (await x) && y;
35 >(await x) && y : any
36 >(await x) : any
[all …]
DclassStaticBlock22(target=esnext).symbols2 let await: "any";
3 >await : Symbol(await, Decl(classStaticBlock22.ts, 0, 3))
9 let await: any; // illegal, cannot declare a new binding for await
10 >await : Symbol(await, Decl(classStaticBlock22.ts, 3, 7))
13 let { await } = {} as any; // illegal, cannot declare a new binding for await
14 >await : Symbol(await, Decl(classStaticBlock22.ts, 6, 9))
17 let { await: other } = {} as any; // legal
21 let await; // illegal, cannot declare a new binding for await
22 >await : Symbol(await, Decl(classStaticBlock22.ts, 12, 7))
25 function await() { }; // illegal
[all …]
DclassStaticBlock22(target=es2022).symbols2 let await: "any";
3 >await : Symbol(await, Decl(classStaticBlock22.ts, 0, 3))
9 let await: any; // illegal, cannot declare a new binding for await
10 >await : Symbol(await, Decl(classStaticBlock22.ts, 3, 7))
13 let { await } = {} as any; // illegal, cannot declare a new binding for await
14 >await : Symbol(await, Decl(classStaticBlock22.ts, 6, 9))
17 let { await: other } = {} as any; // legal
21 let await; // illegal, cannot declare a new binding for await
22 >await : Symbol(await, Decl(classStaticBlock22.ts, 12, 7))
25 function await() { }; // illegal
[all …]
Des2017basicAsync.types3 >async (): Promise<void> => { await 0;} : () => Promise<void>
5 await 0;
6 >await 0 : 0
13 await 0;
14 >await 0 : 0
20 >async (): Promise<void> => { await 0;} : () => Promise<void>
22 await 0;
23 >await 0 : 0
30 await 0;
31 >await 0 : 0
[all …]
Des5-asyncFunctionCallExpressions.types13 await x(y, z);
14 >await x(y, z) : any
24 (await x)(y, z);
25 >(await x)(y, z) : any
26 >(await x) : any
27 >await x : any
36 x(await y, z);
37 >x(await y, z) : any
39 >await y : any
47 x(y, await z);
[all …]
DtopLevelAwait.1(module=esnext,target=es2017).symbols5 await x;
8 // reparse element access as await
9 await [x];
12 await [x, x];
16 // reparse call as await
20 await (x);
23 await (f(), x);
27 await <number>(x);
30 await <number>(f(), x);
34 // reparse tagged template as await
[all …]
DtopLevelAwait.1(module=es2022,target=es2017).symbols5 await x;
8 // reparse element access as await
9 await [x];
12 await [x, x];
16 // reparse call as await
20 await (x);
23 await (f(), x);
27 await <number>(x);
30 await <number>(f(), x);
34 // reparse tagged template as await
[all …]
DtopLevelAwait.1(module=esnext,target=es2015).symbols5 await x;
8 // reparse element access as await
9 await [x];
12 await [x, x];
16 // reparse call as await
20 await (x);
23 await (f(), x);
27 await <number>(x);
30 await <number>(f(), x);
34 // reparse tagged template as await
[all …]
DtopLevelAwait.1(module=es2022,target=es2015).symbols5 await x;
8 // reparse element access as await
9 await [x];
12 await [x, x];
16 // reparse call as await
20 await (x);
23 await (f(), x);
27 await <number>(x);
30 await <number>(f(), x);
34 // reparse tagged template as await
[all …]
DtopLevelAwait.1(module=system,target=es2015).symbols5 await x;
8 // reparse element access as await
9 await [x];
12 await [x, x];
16 // reparse call as await
20 await (x);
23 await (f(), x);
27 await <number>(x);
30 await <number>(f(), x);
34 // reparse tagged template as await
[all …]
DtopLevelAwait.1(module=system,target=es2017).symbols5 await x;
8 // reparse element access as await
9 await [x];
12 await [x, x];
16 // reparse call as await
20 await (x);
23 await (f(), x);
27 await <number>(x);
30 await <number>(f(), x);
34 // reparse tagged template as await
[all …]
Des5-asyncFunctionNewExpressions.types13 await new x(y, z);
14 >await new x(y, z) : any
24 new (await x)(y, z);
25 >new (await x)(y, z) : any
26 >(await x) : any
27 >await x : any
36 new x(await y, z);
37 >new x(await y, z) : any
39 >await y : any
47 new x(y, await z);
[all …]
DclassStaticBlock26(target=esnext).types6 await; // illegal
7 >await : any
11 await (1); // illegal
12 >await (1) : 1
17 ({ [await]: 1 }); // illegal
18 >({ [await]: 1 }) : { [x: number]: number; }
19 >{ [await]: 1 } : { [x: number]: number; }
20 >[await] : number
21 >await : any
29 [await] = 1; // illegal (computed property names are evaluated outside of a class body
[all …]
DclassStaticBlock26(target=es2022).types6 await; // illegal
7 >await : any
11 await (1); // illegal
12 >await (1) : 1
17 ({ [await]: 1 }); // illegal
18 >({ [await]: 1 }) : { [x: number]: number; }
19 >{ [await]: 1 } : { [x: number]: number; }
20 >[await] : number
21 >await : any
29 [await] = 1; // illegal (computed property names are evaluated outside of a class body
[all …]
Des5-asyncFunctionArrayLiterals.types11 x = [await y, z];
12 >x = [await y, z] : any[]
14 >[await y, z] : any[]
15 >await y : any
23 x = [y, await z];
24 >x = [y, await z] : any[]
26 >[y, await z] : any[]
28 >await z : any
35 x = [...(await y), z];
36 >x = [...(await y), z] : any[]
[all …]
DclassStaticBlock22(target=es2022).errors.txt1 …aticBlock/classStaticBlock22.ts(4,9): error TS1359: Identifier expected. 'await' is a reserved wor…
2 …ticBlock/classStaticBlock22.ts(7,11): error TS1359: Identifier expected. 'await' is a reserved wor…
3 …ticBlock/classStaticBlock22.ts(13,9): error TS1359: Identifier expected. 'await' is a reserved wor…
4 …icBlock/classStaticBlock22.ts(16,14): error TS1359: Identifier expected. 'await' is a reserved wor…
5 …icBlock/classStaticBlock22.ts(19,11): error TS1359: Identifier expected. 'await' is a reserved wor…
6 …icBlock/classStaticBlock22.ts(29,15): error TS1359: Identifier expected. 'await' is a reserved wor…
7 …icBlock/classStaticBlock22.ts(32,12): error TS1359: Identifier expected. 'await' is a reserved wor…
11 let await: "any";
14 let await: any; // illegal, cannot declare a new binding for await
16 !!! error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here.
[all …]
DclassStaticBlock22(target=esnext).errors.txt1 …aticBlock/classStaticBlock22.ts(4,9): error TS1359: Identifier expected. 'await' is a reserved wor…
2 …ticBlock/classStaticBlock22.ts(7,11): error TS1359: Identifier expected. 'await' is a reserved wor…
3 …ticBlock/classStaticBlock22.ts(13,9): error TS1359: Identifier expected. 'await' is a reserved wor…
4 …icBlock/classStaticBlock22.ts(16,14): error TS1359: Identifier expected. 'await' is a reserved wor…
5 …icBlock/classStaticBlock22.ts(19,11): error TS1359: Identifier expected. 'await' is a reserved wor…
6 …icBlock/classStaticBlock22.ts(29,15): error TS1359: Identifier expected. 'await' is a reserved wor…
7 …icBlock/classStaticBlock22.ts(32,12): error TS1359: Identifier expected. 'await' is a reserved wor…
11 let await: "any";
14 let await: any; // illegal, cannot declare a new binding for await
16 !!! error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here.
[all …]

12345678910>>...52