/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | numericIndexingResults.ts | 54 let r5 = c[2]; variable 99 let r5 = i[2]; variable 148 let r5 = a[2]; variable 200 let r5 = b[2]; variable 256 let r5 = b2[2]; variable
|
D | duplicateOverloadInTypeAugmentation1.ts | 30 let r5 = a.reduce((x, y) => x + y); variable
|
D | genericCallWithNonSymmetricSubtypes.ts | 78 let r5 = foo(a, y); // { x?: number; }; variable 85 let r5 = foo(y, a); // { x?: number; }; variable
|
D | genericCallWithArrayLiteralArgs.ts | 70 let r5 = foo<any[]>([1, '']); // any[] variable
|
D | classWithPublicProperty.ts | 63 let r5: string = c.d(); variable
|
D | genericFunctionsWithOptionalParameters3.ts | 79 let r5 = utils.mapReduce(c, f1, f2); variable
|
D | callSignatureWithoutAnnotationsOrBody.ts | 60 let r5 = a.f(); variable
|
D | mergeThreeInterfaces.ts | 71 let r5 = b.bar; variable 115 let r5 = b.bar; // any, should be number variable
|
D | genericCallWithOverloadedFunctionTypedArguments.ts | 46 …let r5 = foo5(x => x); // any => string (+1 overload) [inferences are made for T, but lambda not c… variable
|
D | typeOfThisInStaticMembers.ts | 79 let r5 = t2.foo + 1; variable
|
D | genericCallWithOverloadedConstructorTypedArguments.ts | 52 let r5 = foo5(a); // new{} => string; new(x:number) => {} variable
|
D | genericCallWithObjectTypeArgsAndConstraints2.ts | 99 let r5 = f3(new Derived(), x => x); variable
|
D | exponentiationOperatorWithEnum.ts | 62 let r5 = b ** c; variable
|
D | genericCallWithGenericSignatureArguments.ts | 109 let r5 = foo((x: typeof b) => b, (x: typeof a) => a); // typeof b => typeof b variable
|
D | genericCallTypeArgumentInference.ts | 132 let r5 = c.foo2('', 1); // number variable 208 let r5 = i.foo2('', 1); // number variable
|
D | exponentiationOperatorWithEnumUnion.ts | 66 let r5 = b ** c; variable
|
D | objectTypePropertyAccess.ts | 62 let r5 = i['toString'](); variable
|
D | classExtendingClass.ts | 65 let r5 = d2.foo; variable
|
D | additionOperatorWithNumberAndEnum.ts | 57 let r5 = 0 + a; variable
|
D | genericCallWithConstraintsTypeArgumentInference.ts | 152 let r5 = c.foo2(b, d2); // Derived variable 225 let r5 = i.foo2(b, d2); // Derived variable
|
D | callGenericFunctionWithZeroTypeArguments.ts | 81 let r5 = i.f(1); variable
|
D | instanceofOperatorWithRHSIsSubtypeOfFunction.ts | 62 let r5 = x instanceof null; variable
|
D | arrayOfFunctionTypes3.ts | 81 let r5 = r4(''); // any not string variable
|
D | stringIndexingResults.ts | 61 let r5 = i['a']; variable
|
D | functionConstraintSatisfaction3.ts | 82 let r5 = foo(i); variable
|