/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | downlevelLetConst17.ts | 40 for (const x = 10; ;) { constant 48 let x = 10; variable 64 const x = 10; constant 74 for (let x; ;) { variable 87 let x; variable 102 let x; variable 112 const x = true; constant 123 let x; variable 134 let x; variable 144 for (let x in []) { variable [all …]
|
D | capturedLetConstInLoop1_ES6.ts | 35 for (let x of []) { variable 48 for (let x = 0; x < 1; ++x) { variable 62 let x; variable 78 let x; variable 95 let x = 1; variable 111 for (let x = 0, y = 1; x < 1; ++x) { variable 129 let x, y; variable 150 let x, y; variable 172 let x = 1; variable 193 for (const x in {}) { constant [all …]
|
D | capturedLetConstInLoop1.ts | 37 for (let x of []) { variable 50 for (let x = 0; x < 1; ++x) { variable 64 let x; variable 80 let x; variable 97 let x = 1; variable 113 for (let x = 0, y = 1; x < 1; ++x) { variable 131 let x, y; variable 152 let x, y; variable 174 let x = 1; variable 212 for (const x in {}) { constant [all …]
|
D | forInBreakStatements.ts | 26 for(let x in {}) { variable 33 for(let x in {}) { variable 39 for(let x in {}) { variable 43 for(let x in {}) { variable 52 for(let x in {}) { variable 56 for(let x in {}) break SIX; variable 63 for (let x in {}) for (let x in {}) for (let x in {}) break SEVEN; variable 66 for (let x in {}){ variable
|
D | forInContinueStatements.ts | 26 for(let x in {}) { variable 33 for(let x in {}) { variable 39 for(let x in {}) { variable 43 for(let x in {}) { variable 52 for(let x in {}) { variable 56 for(let x in {}) continue SIX; variable 63 for (let x in {}) for (let x in {}) for (let x in {}) continue SEVEN; variable 66 for (let x in {}){ variable
|
D | nestedBlockScopedBindings5.ts | 33 for (let x;;) { variable 61 for (let x;;) { variable 85 for (let x;;) { variable 118 for (let x;false;) { variable 139 let x; variable 163 for (let x;false;) { variable 180 let x; variable 207 for (let x;false;) { variable 228 let x; variable
|
D | es5-yieldFunctionObjectLiterals.ts | 29 const x = { constant 49 const x = { constant 71 const x = { constant 97 const x = { constant 123 const x = { constant 145 const x = { constant 165 const x = { constant
|
D | capturedLetConstInLoop4.ts | 45 for (let x of []) { variable 64 for (let x in []) { variable 83 for (let x = 0; x < 1; ++x) { variable 103 let x; variable 125 let x; variable 148 let x = 1; variable 170 for (let x = 0, y = 1; x < 1; ++x) { variable 194 let x, y; variable 221 let x, y; variable 249 let x = 1; variable [all …]
|
D | capturedLetConstInLoop4_ES6.ts | 45 for (let x of []) { variable 64 for (let x in []) { variable 83 for (let x = 0; x < 1; ++x) { variable 103 let x; variable 125 let x; variable 148 let x = 1; variable 170 for (let x = 0, y = 1; x < 1; ++x) { variable 194 let x, y; variable 221 let x, y; variable 249 let x = 1; variable [all …]
|
D | nestedBlockScopedBindings6.ts | 34 for (let x;;) { variable 63 for (let x;;) { variable 88 for (let x;;) { variable 121 for (let x;;) { variable 160 let x; variable 187 let x; variable 217 let x; variable 247 let x; variable
|
D | accessorWithMismatchedAccessibilityModifiers.ts | 31 protected get x() { method in D 35 private set x(v) { method in D 40 protected set x(v) { method in E 42 get x() { method in E 49 protected static set x(v) { method in F 51 static get x() { method in F
|
D | mergedInterfacesWithConflictingPropertyNames2.ts | 27 x: string; // error property 32 x: T; property 36 x: T; // error property 42 x: T; property 48 x: T; // ok, different declaration space than other M2 property 54 x: T; property 60 x: T; // error property
|
D | capturedLetConstInLoop3_ES6.ts | 400 for (const x of []) { constant 431 for (const x in []) { constant 462 for (const x = 0; x < 1;) { constant 501 const x = 1; constant 533 const x = 1; constant 578 const x = 1; constant 605 for (const x = 0, y = 1; x < 1;) { constant 651 const x = 1, y = 1; constant 689 const x = 1, y = 1; constant 738 const x = 1; constant
|
D | capturedLetConstInLoop3.ts | 400 for (const x of []) { constant 431 for (const x in []) { constant 462 for (const x = 0; x < 1;) { constant 501 const x = 1; constant 533 const x = 1; constant 578 const x = 1; constant 605 for (const x = 0, y = 1; x < 1;) { constant 651 const x = 1, y = 1; constant 689 const x = 1, y = 1; constant 738 const x = 1; constant
|
D | interfaceExtendsObjectIntersection.ts | 30 interface I1 extends T1 { x: string } property 31 interface I2 extends T2 { x: string } property 32 interface I3 extends T3 { x: string } property 33 interface I4 extends T4 { x: string } property 34 interface I5 extends T5 { x: string } property 35 interface I6 extends T6 { x: string } property 36 interface I7 extends T7 { x: string } property 59 interface I10 extends T10 { x: string } property 60 interface I11 extends T11 { x: string } property 61 interface I12 extends T12 { x: string } property [all …]
|
D | constLocalsInFunctionExpressions.ts | 24 const x = getStringOrNumber(); constant 43 const x = getStringOrNumber(); constant 63 const x = getStringOrNumber(); constant 83 const x = getStringOrNumber(); constant 104 const x = getStringOrNumber(); constant
|
D | typeOfThisInFunctionExpression.ts | 49 let x = this; variable 53 let x: any; variable 58 x = function () { property in C 96 let x = this; variable 100 let x: any; variable
|
D | forOfStringConstituents.ts | 22 interface B { x: 1; y: CD[]; } property 23 interface C { x: 2; } property 24 interface D { x: 3; } property 27 declare let x: AB, y: CD; variable
|
D | systemModuleDeclarationMerging.ts | 23 export module F { let x; } variable 26 export module C { let x; } variable 29 export module E { let x; } variable
|
D | capturedLetConstInLoop2_ES6.ts | 346 for (const x of []) { constant 372 for (const x in []) { constant 398 for (const x = 0; x < 1;) { constant 455 const x = 1; constant 496 const x = 1; constant 518 for (const x = 0, y = 1; x < 1;) { constant 559 const x = 1, y =1 ; constant 592 const x = 1, y = 1; constant 636 const x = 1; constant
|
D | capturedLetConstInLoop2.ts | 346 for (const x of []) { constant 372 for (const x in []) { constant 398 for (const x = 0; x < 1;) { constant 455 const x = 1; constant 496 const x = 1; constant 518 for (const x = 0, y = 1; x < 1;) { constant 559 const x = 1, y =1 ; constant 592 const x = 1, y = 1; constant 636 const x = 1; constant
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/moduleExportsElementAccessAssignment/ |
D | mod1.js | 21 exports.a = { x: "x" }; property 22 AssertType(exports.a = { x: "x" }, "{ x: string; }"); property 24 AssertType({ x: "x" }, "{ x: string; }"); property 28 exports["b"] = { x: "x" }; property 29 AssertType(exports["b"] = { x: "x" }, "{ x: string; }"); property 33 AssertType({ x: "x" }, "{ x: string; }"); property 37 exports["default"] = { x: "x" }; property 38 AssertType(exports["default"] = { x: "x" }, "{ x: string; }"); property 42 AssertType({ x: "x" }, "{ x: string; }"); property 46 module.exports["c"] = { x: "x" }; property [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsComputedNames/ |
D | index.js | 33 AssertType({ [TopLevelSym](x = 12) { return x; }, items: { [InnerSym]: (arg … argument 34 AssertType(module.exports = { [TopLevelSym](x = 12) { return x; }, items: { … property 48 AssertType({ [InnerSym]: (arg = {x: 12}) => arg.x }, "{ [InnerSym]: (?{ x: number; }) => … property 50 [InnerSym]: (arg = {x: 12}) => arg.x property 53 AssertType((arg = {x: 12}) => arg.x, "(?{ x: number; }) => number"); property 55 AssertType({x: 12}, "{ x: number; }"); property
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsFunctionLikeClasses2/ |
D | source.js | 134 export function Point2D(x, y) { argument 169 AssertType({ __proto__: Vec, get x() { return this.storage[0]; }, /** * @par… getter 170 AssertType(Point2D.prototype = { __proto__: Vec, get x() { return this.storage[0]; … getter
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsImportTypeBundled/ |
D | index.js | 22 const items = [{x: 12}]; property 24 AssertType([{x: 12}], "{ x: number; }[]"); property 25 AssertType({x: 12}, "{ x: number; }"); property
|