/third_party/typescript/tests/baselines/reference/ |
D | classStaticBlock22(target=esnext).types | 2 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 …]
|
D | classStaticBlock22(target=es2022).types | 2 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 …]
|
D | topLevelAwait.1(module=esnext,target=es2017).types | 6 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 …]
|
D | topLevelAwait.1(module=es2022,target=es2017).types | 6 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 …]
|
D | topLevelAwait.1(module=es2022,target=es2015).types | 6 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 …]
|
D | topLevelAwait.1(module=system,target=es2017).types | 6 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 …]
|
D | topLevelAwait.1(module=system,target=es2015).types | 6 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 …]
|
D | topLevelAwait.1(module=esnext,target=es2015).types | 6 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 …]
|
D | es5-asyncFunctionBinaryExpressions.types | 13 (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 …]
|
D | classStaticBlock22(target=esnext).symbols | 2 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 …]
|
D | classStaticBlock22(target=es2022).symbols | 2 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 …]
|
D | es2017basicAsync.types | 3 >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 …]
|
D | es5-asyncFunctionCallExpressions.types | 13 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 …]
|
D | topLevelAwait.1(module=esnext,target=es2017).symbols | 5 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 …]
|
D | topLevelAwait.1(module=es2022,target=es2017).symbols | 5 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 …]
|
D | topLevelAwait.1(module=esnext,target=es2015).symbols | 5 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 …]
|
D | topLevelAwait.1(module=es2022,target=es2015).symbols | 5 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 …]
|
D | topLevelAwait.1(module=system,target=es2015).symbols | 5 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 …]
|
D | topLevelAwait.1(module=system,target=es2017).symbols | 5 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 …]
|
D | es5-asyncFunctionNewExpressions.types | 13 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 …]
|
D | classStaticBlock26(target=esnext).types | 6 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 …]
|
D | classStaticBlock26(target=es2022).types | 6 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 …]
|
D | es5-asyncFunctionArrayLiterals.types | 11 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 …]
|
D | classStaticBlock22(target=es2022).errors.txt | 1 …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 …]
|
D | classStaticBlock22(target=esnext).errors.txt | 1 …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 …]
|