/arkcompiler/ets_runtime/test/aottest/ts_inline/ |
D | ts_inline.ts | 18 function foo(arg1 : number, arg2 : number) : number { 19 let res = arg1 + arg2; 27 function bar(arg1 : number, arg2 : number) : number { 28 return arg1 * arg2; 31 function calculate(arg1 : number, arg2 : number) : number { 32 let a1 = arg1 + arg2; 38 let a2 = arg1 * arg2;
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | awaitCallExpression5_es5.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression1_es6.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression4_es2017.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression4_es5.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression3_es6.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression2_es5.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression1_es2017.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression1_es5.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression4_es6.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression5_es2017.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression2_es6.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression3_es2017.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression2_es2017.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression5_es6.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression3_es5.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression8_es5.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression6_es6.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression6_es2017.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression6_es5.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression7_es2017.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression7_es5.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression8_es6.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression8_es2017.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|
D | awaitCallExpression7_es6.ts | 27 declare function fn(arg0: boolean, arg1: boolean, arg2: boolean): void; 28 declare let o: { fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }; 32 AssertType(arg1, "boolean"); 35 declare let pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 38 AssertType(arg1, "boolean"); 41 declare let po: Promise<{ fn(arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 45 AssertType(arg1, "boolean");
|