Home
last modified time | relevance | path

Searched refs:y2 (Results 1 – 25 of 40) sorted by relevance

12

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DcontextuallyTypedFunctionExpressionsAndReturnAnnotations.ts21 declare function foo(x: (y: string) => (y2: number) => void);
24 foo((y): (y2: number) => void => {
26 AssertType((y): (y2: number) => void => { let z = y.charAt(0); // Should be string return nul…
28 AssertType(y2, "number");
29 AssertType(foo((y): (y2: number) => void => { let z = y.charAt(0); // Should be string return…
44 AssertType((y: string) => { return y2 => { let z = y2.toFixed(); // Should be string …
46 AssertType(foo((y: string) => { return y2 => { let z = y2.toFixed(); // Should be string …
48 AssertType(y2 => { let z = y2.toFixed(); // Should be string return 0; }, "(number…
49 AssertType(y2, "number");
50 return y2 => {
[all …]
DinitializersWidened.ts42 let y2: undefined;
43 AssertType(y2, "undefined");
87 let y5 = undefined || y2;
89 AssertType(undefined || y2, "undefined");
91 AssertType(y2, "undefined");
93 let z5 = void 0 || y2;
95 AssertType(void 0 || y2, "undefined");
98 AssertType(y2, "undefined");
DarrayLiteral.ts59 let y2: number[] = [1];
60 AssertType(y2, "number[]");
64 let y2: number[] = [1, 2];
65 AssertType(y2, "number[]");
70 let y2: number[] = new Array<number>();
71 AssertType(y2, "number[]");
DcyclicGenericTypeInstantiation.ts31 y2: typeof z
32 AssertType(y2, "{ y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: any; }; }; }; }; …
51 y2: typeof z;
52 AssertType(y2, "{ y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: any; }; }; }; }; …
DcyclicGenericTypeInstantiationInference.ts31 y2: typeof z
32 AssertType(y2, "{ y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: any; }; }; }; }; …
51 y2: typeof z;
52 AssertType(y2, "{ y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: { y2: any; }; }; }; }; …
DnoImplicitAnyDestructuringVarDeclaration2.ts112 let {x2 = undefined, y2 = undefined, z2 = undefined} = { x2: 1, y2: 2, z2: 3 }; // no error variable
115 AssertType(y2, "number");
119 AssertType({ x2: 1, y2: 2, z2: 3 }, "{ x2?: number; y2?: number; z2?: number; }");
122 AssertType(y2, "number");
DdeclFileForVarList.ts27 let x1 = 1, y2 = 2, z2 = 3;
30 AssertType(y2, "number");
DtypeGuardOfFormTypeOfNumber.ts116 let y2: string | boolean = strOrBool; // string | boolean variable
117 AssertType(y2, "union");
178 let y2: {} = strOrBool; // { variable
179 AssertType(y2, "{}");
DfunctionLiteral.ts42 let y2: { <T>(x: T): T; } = <T>(x: T) => x variable
43 AssertType(y2, "<T>(T) => T");
Dm7Bugs.ts54 let y2: C1 = <C1> new C2(); variable
55 AssertType(y2, "C1");
Des6ModuleEnumDeclaration.ts53 let y2 = e4.x; variable
69 let y2 = e6.x; variable
Des6ModuleConstEnumDeclaration.ts53 let y2 = e4.x; variable
69 let y2 = e6.x; variable
Des6ModuleConstEnumDeclaration2.ts53 let y2 = e4.x; variable
69 let y2 = e6.x; variable
DanyAndUnknownHaveFalsyComponents.ts59 const y2 = x2 && 3; constant
60 AssertType(y2, "unknown");
DobjectLiteralWidened.ts82 let y2 = { variable
83 AssertType(y2, "{ foo: null; bar: { baz: null; boo: undefined; }; }");
DfunctionOverloads45.ts67 let y2 = foo2([{a: 100}]); variable
68 AssertType(y2, "Cat");
DfunctionOverloads44.ts67 let y2 = foo2([{a: 100}]); variable
68 AssertType(y2, "Cat");
/arkcompiler/ets_runtime/tools/circuit_viewer/src/ir/
DIrViewer.js282 drawSmallMap(nodes, x1, x2, y1, y2) { argument
283 if (x1 === x2 || y2 === y1) {
290 let sh = h / (y2 - y1);
452 let y2 = -9999;
465 if (n.pos.y + n.nameWidth > y2)
466 y2 = n.pos.y + IrToPicture.NODEH;
471 y2 = y2 + Scr.logich / 3;
476 y2: y2, property
479 let scrollH = y2 - y1;
495 this.drawSmallMap(nodes, x1, x2, y1, y2);
[all …]
/arkcompiler/ets_runtime/test/aottest/shr/
Dshr.ts23 var y2 = 1;
24 var r2 = x2 >> y2;
/arkcompiler/ets_runtime/test/aottest/and/
Dand.ts23 var y2 = 1;
24 var r2 = x2 & y2;
/arkcompiler/ets_runtime/test/aottest/or/
Dor.ts23 var y2 = 1;
24 var r2 = x2 | y2;
/arkcompiler/ets_runtime/test/aottest/exp/
Dexp.ts23 var y2 = 2;
24 var r2 = x2 ** y2;
/arkcompiler/ets_runtime/test/aottest/xor/
Dxor.ts23 var y2 = 1;
24 var r2 = x2 ^ y2;
/arkcompiler/ets_runtime/test/aottest/shl/
Dshl.ts23 var y2 = 1;
24 var r2 = x2 << y2;
/arkcompiler/ets_runtime/test/aottest/ashr/
Dashr.ts23 var y2 = 1;
24 var r2 = x2 >>> y2;

12