/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 150 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 85 var tt2 = tt[2]; 86 var tt2; variable
|
D | fatarrowfunctionsOptionalArgsErrors2.js | 3 var tt2 = ((a), b, c) => a+b+c; variable 10 var tt2 = ((a), b, c);
|
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 | fatarrowfunctionsOptionalArgsErrors2.types | 17 var tt2 = ((a), b, c) => a+b+c; 18 >tt2 : any
|
D | tupleTypes.errors.txt | 12 …2403: Subsequent variable declarations must have the same type. Variable 'tt2' must be of type 'u… 79 var tt2 = tt[2]; 82 var tt2: number | string; 84 !!! error TS2403: Subsequent variable declarations must have the same type. Variable 'tt2' must be… 85 !!! related TS6203 tests/cases/compiler/tupleTypes.ts:35:5: 'tt2' was also declared here.
|
/third_party/flutter/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 | 143 double tt2 = intersections[1][pt]; in DEF_TEST() local 144 REPORTER_ASSERT(reporter, tt2 >= 0 && tt2 <= 1); in DEF_TEST() 145 SkDPoint t2 = line.ptAtT(tt2); in DEF_TEST() 148 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
|
D | PathOpsConicLineIntersectionTest.cpp | 138 double tt2 = intersections[1][pt]; in DEF_TEST() local 139 REPORTER_ASSERT(reporter, tt2 >= 0 && tt2 <= 1); in DEF_TEST() 140 SkDPoint t2 = line.ptAtT(tt2); in DEF_TEST() 143 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
|
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 | 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 | 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 | PathOpsCubicIntersectionTest.cpp | 60 double tt2 = tIntersections[1][pt]; in standardTestCases() local 61 SkDPoint xy2 = c2.ptAtT(tt2); in standardTestCases() 64 __FUNCTION__, (int)index, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in standardTestCases() 418 double tt1, tt2; in oneOff() local 423 tt2 = intersections[1][pt3]; in oneOff() 424 xy2 = c2.ptAtT(tt2); in oneOff() 429 iPt.fY, xy2.fX, xy2.fY, tt2); in oneOff() 519 double tt2 = intersections2[1][pt]; in CubicIntersection_RandTest() local 520 SkDPoint xy2 = c2.ptAtT(tt2); in CubicIntersection_RandTest()
|
/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 | 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 | 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 | 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 | 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()
|
/third_party/typescript/tests/cases/compiler/ |
D | tupleTypes.ts | 35 var tt2 = tt[2]; variable 36 var tt2: number | string; variable
|