/third_party/typescript/tests/cases/conformance/types/tuple/ |
D | variadicTuples2.ts | 53 declare let tt2: [number, ...string[], number]; 54 tt2 = [0]; // Error 55 tt2 = [0, 1]; 56 tt2 = [0, 1, 2]; // Error 57 tt2 = [0, 'abc', 1]; 58 tt2 = [0, 'abc', 'def', 1]; 59 tt2 = [0, 'abc', 1, 'def']; // Error 60 tt2 = [true, 'abc', 'def', 1]; // Error 61 tt2 = [0, 'abc', 'def', true]; // Error
|
/third_party/typescript/tests/baselines/reference/ |
D | variadicTuples2.js | 51 declare let tt2: [number, ...string[], number]; 52 tt2 = [0]; // Error 53 tt2 = [0, 1]; 54 tt2 = [0, 1, 2]; // Error 55 tt2 = [0, 'abc', 1]; 56 tt2 = [0, 'abc', 'def', 1]; 57 tt2 = [0, 'abc', 1, 'def']; // Error 58 tt2 = [true, 'abc', 'def', 1]; // Error 59 tt2 = [0, 'abc', 'def', true]; // Error 154 tt2 = [0]; // Error [all …]
|
D | variadicTuples2.symbols | 152 declare let tt2: [number, ...string[], number]; 153 >tt2 : Symbol(tt2, Decl(variadicTuples2.ts, 49, 11)) 155 tt2 = [0]; // Error 156 >tt2 : Symbol(tt2, Decl(variadicTuples2.ts, 49, 11)) 158 tt2 = [0, 1]; 159 >tt2 : Symbol(tt2, Decl(variadicTuples2.ts, 49, 11)) 161 tt2 = [0, 1, 2]; // Error 162 >tt2 : Symbol(tt2, Decl(variadicTuples2.ts, 49, 11)) 164 tt2 = [0, 'abc', 1]; 165 >tt2 : Symbol(tt2, Decl(variadicTuples2.ts, 49, 11)) [all …]
|
D | variadicTuples2.types | 143 declare let tt2: [number, ...string[], number]; 144 >tt2 : [number, ...string[], number] 146 tt2 = [0]; // Error 147 >tt2 = [0] : [number] 148 >tt2 : [number, ...string[], number] 152 tt2 = [0, 1]; 153 >tt2 = [0, 1] : [number, number] 154 >tt2 : [number, ...string[], number] 159 tt2 = [0, 1, 2]; // Error 160 >tt2 = [0, 1, 2] : [number, number, number] [all …]
|
D | fatarrowfunctionsOptionalArgsErrors2.symbols | 5 var tt2 = ((a), b, c) => a+b+c; 6 >tt2 : Symbol(tt2, Decl(fatarrowfunctionsOptionalArgsErrors2.ts, 1, 3))
|
D | tupleTypes.js | 36 var tt2 = tt[2]; variable 37 var tt2: number | string; variable 97 var tt2 = tt[2]; 98 var tt2; variable
|
D | fatarrowfunctionsOptionalArgsErrors2.js | 3 var tt2 = ((a), b, c) => a+b+c; variable 10 var tt2 = ((a), b, c);
|
D | fatarrowfunctionsOptionalArgsErrors2.types | 17 var tt2 = ((a), b, c) => a+b+c; 18 >tt2 : any
|
D | tupleTypes.symbols | 123 var tt2 = tt[2]; 124 >tt2 : Symbol(tt2, Decl(tupleTypes.ts, 34, 3), Decl(tupleTypes.ts, 35, 3)) 127 var tt2: number | string; 128 >tt2 : Symbol(tt2, Decl(tupleTypes.ts, 34, 3), Decl(tupleTypes.ts, 35, 3))
|
D | tupleTypes.types | 146 var tt2 = tt[2]; 147 >tt2 : undefined 152 var tt2: number | string; 153 >tt2 : undefined
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/functions/destructuring_parameter_declarations/ |
D | destructuring_parameter_declarations_1.ts | 43 let tt2: Person = new Person("caihua2", 122); variable 44 let person_array: Person[] = [tt1, tt2]; variable 46 let [tt1, tt2] = v_array; 49 Assert.equal(tt2.m_name, v_array[1].m_name); 50 Assert.equal(tt2.m_age, v_array[1].m_age);
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/functions/function_implementations/ |
D | function_implementations_1.ts | 30 let tt2: voidTest = undefined; variable 31 Assert.equal(tt1, tt2); 32 Assert.equal(tt1 === tt2, true);
|
D | function_implementations_2.ts | 42 let tt2: ttBoo = true; variable 43 Assert.isBoolean(tt2);
|
/third_party/skia/tests/ |
D | PathOpsQuadIntersectionTest.cpp | 45 double tt2 = intersections[1][pt]; in standardTestCases() local 46 SkDPoint xy2 = quad2.ptAtT(tt2); in standardTestCases() 50 tt2, xy2.fX, xy2.fY); in standardTestCases() 349 double tt2 = intersections[1][pt]; in oneOffTest1() local 350 SkDPoint xy2 = quad2.ptAtT(tt2); in oneOffTest1() 354 tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in oneOffTest1() 359 outer, inner, tt1, xy1.fX, xy1.fY, tt2); in oneOffTest1() 402 double tt2 = intersections2[1][pt]; in coincidentTestOne() local 404 SkDPoint pt2 = quad2.ptAtT(tt2); in coincidentTestOne()
|
D | PathOpsQuadLineIntersectionTest.cpp | 142 double tt2 = intersections[1][pt]; in DEF_TEST() local 143 REPORTER_ASSERT(reporter, tt2 >= 0 && tt2 <= 1); in DEF_TEST() 144 SkDPoint t2 = line.ptAtT(tt2); in DEF_TEST() 147 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
|
D | PathOpsConicLineIntersectionTest.cpp | 137 double tt2 = intersections[1][pt]; in DEF_TEST() local 138 REPORTER_ASSERT(reporter, tt2 >= 0 && tt2 <= 1); in DEF_TEST() 139 SkDPoint t2 = line.ptAtT(tt2); in DEF_TEST() 142 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
|
D | PathOpsCubicIntersectionTest.cpp | 62 double tt2 = tIntersections[1][pt]; in standardTestCases() local 63 SkDPoint xy2 = c2.ptAtT(tt2); in standardTestCases() 66 __FUNCTION__, (int)index, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in standardTestCases() 417 double tt1, tt2; in oneOff() local 422 tt2 = intersections[1][pt3]; in oneOff() 423 xy2 = c2.ptAtT(tt2); in oneOff() 428 iPt.fY, xy2.fX, xy2.fY, tt2); in oneOff() 518 double tt2 = intersections2[1][pt]; in CubicIntersection_RandTest() local 519 SkDPoint xy2 = c2.ptAtT(tt2); in CubicIntersection_RandTest()
|
D | PathOpsCubicQuadIntersectionTest.cpp | 81 double tt2 = i[1][pt]; in cubicQuadIntersection() local 82 SkDPoint xy2 = quad.ptAtT(tt2); in cubicQuadIntersection() 85 __FUNCTION__, iIndex, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in cubicQuadIntersection()
|
D | PathOpsCubicConicIntersectionTest.cpp | 71 double tt2 = i[1][pt]; in cubicConicIntersection() local 72 SkDPoint xy2 = conic.ptAtT(tt2); in cubicConicIntersection() 75 __FUNCTION__, index, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in cubicConicIntersection()
|
D | PathOpsConicQuadIntersectionTest.cpp | 60 double tt2 = i[1][pt]; in conicQuadIntersection() local 61 SkDPoint xy2 = quad.ptAtT(tt2); in conicQuadIntersection() 64 __FUNCTION__, index, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in conicQuadIntersection()
|
D | PathOpsCubicLineIntersectionTest.cpp | 156 double tt2 = i[1][pt]; in testOne() local 157 SkDPoint xy2 = line.ptAtT(tt2); in testOne() 160 __FUNCTION__, iIndex, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in testOne()
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/object_types/constructor_types/ |
D | constructor_types_4.ts | 45 let tt2 = new Animal("caihua2", 12); variable 46 Assert.equal(tt2.name, "caihua2"); 47 Assert.equal(tt2.age, 12);
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/classes/constructor_declarations/constructor_parameters/ |
D | constructor_parameters_1.ts | 50 let tt2 = new Animal1("caihua2", 12); variable 51 Assert.equal(tt2.name, "caihua2"); 52 Assert.equal(tt2.age, 12);
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/types/specifying_members/construct_signatures/ |
D | construct_signatures.ts | 52 let tt2 = new AnimalConstructor("caihua2", 12); variable 53 Assert.equal(tt2.name, "caihua2"); 54 Assert.equal(tt2.age, 12);
|
/third_party/typescript/tests/cases/compiler/ |
D | tupleTypes.ts | 35 var tt2 = tt[2]; variable 36 var tt2: number | string; variable
|