/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | compoundAssignmentLHSIsReference.ts | 92 function fn2(x4: number) { 93 (x4) *= value; 94 AssertType((x4) *= value, "number"); 95 AssertType((x4), "number"); 96 AssertType(x4, "number"); 99 (x4) += value; 100 AssertType((x4) += value, "any"); 101 AssertType((x4), "number"); 102 AssertType(x4, "number");
|
D | assignmentLHSIsReference.ts | 64 function fn2(x4: number) { 65 (x4) = value; 66 AssertType((x4) = value, "any"); 67 AssertType((x4), "number"); 68 AssertType(x4, "number");
|
D | compoundExponentiationAssignmentLHSIsReference.ts | 64 function fn2(x4: number) { 65 (x4) **= value; 66 AssertType((x4) **= value, "number"); 67 AssertType((x4), "number"); 68 AssertType(x4, "number");
|
D | inferenceOptionalPropertiesToIndexSignatures.ts | 38 declare const x4: { a: string, b?: number | undefined }; constant 39 AssertType(x4, "{ a: string; b?: union; }"); 61 let a4 = foo(x4); // string | number 63 AssertType(foo(x4), "union"); 65 AssertType(x4, "{ a: string; b?: union; }");
|
D | noImplicitAnyDestructuringVarDeclaration2.ts | 145 let {x4} = { x4: <any>undefined }, {y4} = { y4: <any>null }; // no error variable 146 AssertType(x4, "any"); 147 AssertType({ x4: <any>undefined }, "{ x4: any; }"); 148 AssertType(x4, "any");
|
D | genericObjectCreationWithoutTypeArgs.ts | 40 let x4 = new SS; // OK variable 41 AssertType(x4, "SS<unknown>");
|
D | contextualTypeWithUnionTypeIndexSignatures.ts | 125 let x4: IWithNumberIndexSignature1 | IWithNumberIndexSignature2 = { 1: a => a.toString() }; // a sh… variable 126 AssertType(x4, "union"); 134 let x4: IWithNumberIndexSignature1 | IWithNumberIndexSignature2 = { 1: a => a }; // a should be num… variable 135 AssertType(x4, "union");
|
D | typeAliases.ts | 45 let x4: void; 46 AssertType(x4, "void"); 48 let x4: T4; 49 AssertType(x4, "void");
|
D | assignmentCompatability10.ts | 26 …icAndOptional<T,U> { constructor(public one: T, public two?: U) {} } let x4 = new classWithPubli… variable 27 export let __val__x4 = x4;
|
D | initializersWidened.ts | 61 let x4 = null || null; 62 AssertType(x4, "any");
|
D | literalTypes2.ts | 81 let x4 = "abc"; 82 AssertType(x4, "string"); 182 let x4: true = true; 183 AssertType(x4, "boolean"); 267 let x4 = c4; 268 AssertType(x4, "string"); 292 x4 = "abc"; property in C1 527 const x4 = g3(1, "two"); // Type 1 | "two" 528 AssertType(x4, "union");
|
D | contextualTypeWithUnionTypeCallSignatures.ts | 76 let x4: IWithCallSignatures | IWithCallSignatures4 = a => /*here a should be any*/ a.toString(); variable 77 AssertType(x4, "union");
|
D | mappedTypes2.ts | 40 let x4: Record<K, U>; 41 AssertType(x4, "Record<K, U>"); 43 let x4: { [P in K]: U }; 44 AssertType(x4, "Record<K, U>");
|
D | mappedTypes1.ts | 71 let x4 = f4(); variable 72 AssertType(x4, "{ toString: void; toFixed: void; toExponential: void; toPrecision: void; valueOf: v…
|
D | inheritedOverloadedSpecializedSignatures.ts | 89 let x4: string = c('A1'); variable 90 AssertType(x4, "string");
|
D | protectedClassPropertyAccessibleWithinNestedClass.ts | 104 let x4 = x.y; 105 AssertType(x4, "string");
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/mergedClassInterface/ |
D | file1.ts | 50 x4: number; property 66 c5.x4; 67 AssertType(c5.x4, "number");
|
/arkcompiler/ets_runtime/test/aottest/shr/ |
D | shr.ts | 32 var x4 = 16.8; 34 var r4 = x4 >> y4;
|
/arkcompiler/ets_runtime/test/aottest/and/ |
D | and.ts | 32 var x4 = 15.8; 34 var r4 = x4 & y4;
|
/arkcompiler/ets_runtime/test/aottest/or/ |
D | or.ts | 32 var x4 = 16.8; 34 var r4 = x4 | y4;
|
/arkcompiler/ets_runtime/test/aottest/exp/ |
D | exp.ts | 32 var x4 = 16.8; 34 var r4 = x4 ** y4;
|
/arkcompiler/ets_runtime/test/aottest/xor/ |
D | xor.ts | 32 var x4 = 15.8; 34 var r4 = x4 ^ y4;
|
/arkcompiler/ets_runtime/test/aottest/shl/ |
D | shl.ts | 32 var x4 = 16.8; 34 var r4 = x4 << y4;
|
/arkcompiler/ets_runtime/test/aottest/ashr/ |
D | ashr.ts | 32 var x4 = 16.8; 34 var r4 = x4 >>> y4;
|
/arkcompiler/ets_frontend/es2panda/test/bytecode/commonjs/ |
D | test-commonjs-main-func-args-expected.txt | 26 createemptyarray 0x4 37 stownbyindex 0xd, v3, 0x4
|