Home
last modified time | relevance | path

Searched refs:comparable (Results 1 – 25 of 218) sorted by relevance

123456789

/third_party/typescript/tests/baselines/reference/
DswitchBreakStatements.errors.txt1 …Statements/switchBreakStatements.ts(2,10): error TS2678: Type '"a"' is not comparable to type '""'.
2 …Statements/switchBreakStatements.ts(8,10): error TS2678: Type '"a"' is not comparable to type '""'.
3 …tatements/switchBreakStatements.ts(15,10): error TS2678: Type '"a"' is not comparable to type '""'.
4 …tatements/switchBreakStatements.ts(21,10): error TS2678: Type '"a"' is not comparable to type '""'.
5 …tatements/switchBreakStatements.ts(24,18): error TS2678: Type '"a"' is not comparable to type '""'.
6 …tatements/switchBreakStatements.ts(30,10): error TS2678: Type '"a"' is not comparable to type '""'.
7 …tatements/switchBreakStatements.ts(33,18): error TS2678: Type '"a"' is not comparable to type '""'.
8 …tatements/switchBreakStatements.ts(40,10): error TS2678: Type '"a"' is not comparable to type '""'.
9 …tatements/switchBreakStatements.ts(42,18): error TS2678: Type '"a"' is not comparable to type '""'.
10 …tatements/switchBreakStatements.ts(44,26): error TS2678: Type '"a"' is not comparable to type '""'.
[all …]
DstringLiteralsWithSwitchStatements03.errors.txt1 …SwitchStatements03.ts(10,10): error TS2678: Type '"bar" | "baz"' is not comparable to type '"foo"'.
2 Type '"baz"' is not comparable to type '"foo"'.
3 …ralsWithSwitchStatements03.ts(12,10): error TS2678: Type '"bar"' is not comparable to type '"foo"'.
4 …ralsWithSwitchStatements03.ts(14,10): error TS2678: Type '"baz"' is not comparable to type '"foo"'.
7 …SwitchStatements03.ts(20,10): error TS2678: Type '"bar" | "baz"' is not comparable to type '"foo"'.
8 Type '"baz"' is not comparable to type '"foo"'.
9 …SwitchStatements03.ts(22,10): error TS2678: Type '"bar" | "baz"' is not comparable to type '"foo"'.
10 Type '"baz"' is not comparable to type '"foo"'.
11 …SwitchStatements03.ts(23,10): error TS2678: Type '"bar" | "baz"' is not comparable to type '"foo"'.
12 Type '"baz"' is not comparable to type '"foo"'.
[all …]
DswitchCasesExpressionTypeMismatch.errors.txt1 …xpressionTypeMismatch.ts(4,10): error TS2678: Type 'typeof Foo' is not comparable to type 'number'.
2 …itchCasesExpressionTypeMismatch.ts(5,10): error TS2678: Type '"sss"' is not comparable to type '0'.
3 …switchCasesExpressionTypeMismatch.ts(6,10): error TS2678: Type '123' is not comparable to type '0'.
4 …witchCasesExpressionTypeMismatch.ts(7,10): error TS2678: Type 'true' is not comparable to type '0'.
13 !!! error TS2678: Type 'typeof Foo' is not comparable to type 'number'.
16 !!! error TS2678: Type '"sss"' is not comparable to type '0'.
19 !!! error TS2678: Type '123' is not comparable to type '0'.
22 !!! error TS2678: Type 'true' is not comparable to type '0'.
DunusedSwitchStatement.errors.txt1 tests/cases/compiler/unusedSwitchStatement.ts(2,10): error TS2678: Type '0' is not comparable to ty…
5 tests/cases/compiler/unusedSwitchStatement.ts(14,10): error TS2678: Type '0' is not comparable to t…
7 tests/cases/compiler/unusedSwitchStatement.ts(16,10): error TS2678: Type '1' is not comparable to t…
14 !!! error TS2678: Type '0' is not comparable to type '1'.
34 !!! error TS2678: Type '0' is not comparable to type '2'.
40 !!! error TS2678: Type '1' is not comparable to type '2'.
DswitchCaseWithUnionTypes01.errors.txt1 …ance/types/typeRelationships/comparable/switchCaseWithUnionTypes01.ts(22,10): error TS2678: Type '…
4 ==== tests/cases/conformance/types/typeRelationships/comparable/switchCaseWithUnionTypes01.ts (1 er…
28 !!! error TS2678: Type 'boolean' is not comparable to type 'string | number'.
DletConstInCaseClauses.errors.txt1 tests/cases/compiler/letConstInCaseClauses.ts(22,14): error TS2678: Type '10' is not comparable to …
2 tests/cases/compiler/letConstInCaseClauses.ts(26,14): error TS2678: Type '10' is not comparable to …
29 !!! error TS2678: Type '10' is not comparable to type '1'.
35 !!! error TS2678: Type '10' is not comparable to type '2'.
DswitchCaseCircularRefeference.errors.txt1 … error TS2678: Type '{ a: "A"; b: any; } | { a: "C"; e: any; }' is not comparable to type 'string'.
2 Type '{ a: "C"; e: any; }' is not comparable to type 'string'.
12 !!! error TS2678: Type '{ a: "A"; b: any; } | { a: "C"; e: any; }' is not comparable to type 'strin…
13 !!! error TS2678: Type '{ a: "C"; e: any; }' is not comparable to type 'string'.
DequalityStrictNulls.errors.txt1 tests/cases/conformance/types/typeRelationships/comparable/equalityStrictNulls.ts(59,13): error TS2…
2 tests/cases/conformance/types/typeRelationships/comparable/equalityStrictNulls.ts(61,13): error TS2…
3 tests/cases/conformance/types/typeRelationships/comparable/equalityStrictNulls.ts(63,14): error TS2…
4 tests/cases/conformance/types/typeRelationships/comparable/equalityStrictNulls.ts(65,14): error TS2…
7 ==== tests/cases/conformance/types/typeRelationships/comparable/equalityStrictNulls.ts (4 errors) =…
DtypeAssertionsWithIntersectionTypes01.errors.txt1 tests/cases/conformance/types/typeRelationships/comparable/typeAssertionsWithIntersectionTypes01.ts…
3 tests/cases/conformance/types/typeRelationships/comparable/typeAssertionsWithIntersectionTypes01.ts…
7 ==== tests/cases/conformance/types/typeRelationships/comparable/typeAssertionsWithIntersectionTypes…
28 !!! related TS2728 tests/cases/conformance/types/typeRelationships/comparable/typeAssertionsWithInt…
33 !!! related TS2728 tests/cases/conformance/types/typeRelationships/comparable/typeAssertionsWithInt…
DequalityWithIntersectionTypes01.errors.txt1 tests/cases/conformance/types/typeRelationships/comparable/equalityWithIntersectionTypes01.ts(17,5)…
2 tests/cases/conformance/types/typeRelationships/comparable/equalityWithIntersectionTypes01.ts(17,16…
3 tests/cases/conformance/types/typeRelationships/comparable/equalityWithIntersectionTypes01.ts(19,10…
6 ==== tests/cases/conformance/types/typeRelationships/comparable/equalityWithIntersectionTypes01.ts …
DswitchCases.errors.txt1 tests/cases/compiler/switchCases.ts(2,7): error TS2678: Type '1' is not comparable to type '0'.
8 !!! error TS2678: Type '1' is not comparable to type '0'.
DswitchAssignmentCompat.errors.txt1 …witchAssignmentCompat.ts(4,10): error TS2678: Type 'typeof Foo' is not comparable to type 'number'.
10 !!! error TS2678: Type 'typeof Foo' is not comparable to type 'number'.
DinvalidSwitchBreakStatement.errors.txt1 …ements/invalidSwitchBreakStatement.ts(4,10): error TS2678: Type '5' is not comparable to type '12'.
10 !!! error TS2678: Type '5' is not comparable to type '12'.
/third_party/boost/boost/geometry/strategies/cartesian/
Ddistance_pythagoras.hpp70 namespace comparable namespace
168 comparable::pythagoras<CalculationType>::apply(p1, p2) in apply()
195 typedef comparable::pythagoras<CalculationType> type;
202 typedef comparable::pythagoras<CalculationType> comparable_type;
227 struct tag<comparable::pythagoras<CalculationType> >
234 struct return_type<comparable::pythagoras<CalculationType>, P1, P2>
235 : comparable::pythagoras<CalculationType>::template calculation_type<P1, P2>
242 struct comparable_type<comparable::pythagoras<CalculationType> >
244 typedef comparable::pythagoras<CalculationType> type;
249 struct get_comparable<comparable::pythagoras<CalculationType> >
[all …]
Ddistance_pythagoras_point_box.hpp87 namespace comparable namespace
190 comparable::pythagoras_point_box in apply()
223 typedef comparable::pythagoras_point_box<CalculationType> type;
230 typedef comparable::pythagoras_point_box<CalculationType> comparable_type;
260 struct tag<comparable::pythagoras_point_box<CalculationType> >
269 comparable::pythagoras_point_box<CalculationType>, Point, Box
270 > : comparable::pythagoras_point_box
280 struct comparable_type<comparable::pythagoras_point_box<CalculationType> >
282 typedef comparable::pythagoras_point_box<CalculationType> type;
287 struct get_comparable<comparable::pythagoras_point_box<CalculationType> >
[all …]
Ddistance_pythagoras_box_box.hpp90 namespace comparable namespace
195 comparable::pythagoras_box_box in apply()
225 typedef comparable::pythagoras_box_box<CalculationType> type;
232 typedef comparable::pythagoras_box_box<CalculationType> comparable_type;
262 struct tag<comparable::pythagoras_box_box<CalculationType> >
269 struct return_type<comparable::pythagoras_box_box<CalculationType>, Box1, Box2>
270 : comparable::pythagoras_box_box
280 struct comparable_type<comparable::pythagoras_box_box<CalculationType> >
282 typedef comparable::pythagoras_box_box<CalculationType> type;
287 struct get_comparable<comparable::pythagoras_box_box<CalculationType> >
[all …]
Dindex.hpp100 typedef geometry::strategy::distance::comparable::pythagoras
110 typedef geometry::strategy::distance::comparable::pythagoras_point_box
169 struct from_strategy<distance::comparable::pythagoras<CalculationType> >
173 static inline type get(distance::comparable::pythagoras<CalculationType> const&) in get()
/third_party/boost/boost/geometry/strategies/spherical/
Ddistance_haversine.hpp41 namespace comparable namespace
146 typedef comparable::haversine<RadiusTypeOrSphere, CalculationType> comparable_type;
228 typedef comparable::haversine<RadiusType, CalculationType> type;
237 typedef comparable::haversine<RadiusType, CalculationType> comparable_type;
262 struct tag<comparable::haversine<RadiusType, CalculationType> >
269 struct return_type<comparable::haversine<RadiusType, CalculationType>, P1, P2>
270 : comparable::haversine<RadiusType, CalculationType>::template calculation_type<P1, P2>
275 struct comparable_type<comparable::haversine<RadiusType, CalculationType> >
277 typedef comparable::haversine<RadiusType, CalculationType> type;
282 struct get_comparable<comparable::haversine<RadiusType, CalculationType> >
[all …]
Dindex.hpp86 typedef geometry::strategy::distance::comparable::haversine
110 typedef geometry::strategy::distance::comparable::cross_track
113 geometry::strategy::distance::comparable::haversine<double, CalculationType>
170 struct from_strategy<distance::comparable::haversine<RadiusType, CalculationType> >
174 static inline type get(distance::comparable::haversine<RadiusType, CalculationType> const&) in get()
182 struct from_strategy<distance::comparable::cross_track<CalculationType, PPStrategy> >
186 static inline type get(distance::comparable::cross_track<CalculationType, PPStrategy> const&) in get()
Ddistance_cross_track.hpp55 namespace comparable namespace
329 typename Strategy = comparable::haversine<double, CalculationType>
651 typedef comparable::cross_track
704 struct tag<comparable::cross_track<RadiusType, CalculationType> >
717 struct return_type<comparable::cross_track<RadiusType, CalculationType>, P, PS>
718 : comparable::cross_track
726 struct comparable_type<comparable::cross_track<RadiusType, CalculationType> >
728 typedef comparable::cross_track<RadiusType, CalculationType> type;
733 struct get_comparable<comparable::cross_track<RadiusType, CalculationType> >
736 typedef comparable::cross_track<RadiusType, CalculationType> this_type;
[all …]
/third_party/boost/libs/hana/test/numeric/
Dmain.hpp302 auto comparable = numeric; in main() local
399 hana::if_(logical(true), comparable(0), comparable(1)), in main()
400 comparable(0) in main()
404 hana::if_(logical(false), comparable(0), comparable(1)), in main()
405 comparable(1) in main()
411 auto t = [=](auto) { return comparable(0); }; in main()
412 auto e = [=](auto) { return comparable(1); }; in main()
416 comparable(0) in main()
421 comparable(1) in main()
/third_party/boost/libs/geometry/test/strategies/
Dpythagoras.cpp108 typedef bg::strategy::distance::comparable::pythagoras<> strategy_type; in test_arbitrary_3d()
169 comparable_type comparable = bgsd::services::get_comparable<strategy_type>::apply(strategy); in test_services() local
171 return_type c_result = comparable.apply(p1, p2); in test_services()
176 …return_type c_dist5 = services::result_from_distance<comparable_type, P1, P2>::apply(comparable, 5… in test_services()
177 …return_type c_dist6 = services::result_from_distance<comparable_type, P1, P2>::apply(comparable, 6… in test_services()
259 comparable_type comparable; in test_integer() local
260 cdistance_type cdistance = comparable.apply(p1, p2); in test_integer()
320 time_compare_s<P, bg::strategy::distance::comparable::pythagoras<> >(n); in time_compare()
Dhaversine.cpp138 comparable_type comparable = bgsd::services::get_comparable<strategy_type>::apply(strategy); in test_services() local
142 return_type c_result = comparable.apply(p1, p2); in test_services()
144 … c_expected = services::result_from_distance<comparable_type, P1, P2>::apply(comparable, expected); in test_services()
150 …lower = services::result_from_distance<comparable_type, P1, P2>::apply(comparable, expected_lower); in test_services()
151 …igher = services::result_from_distance<comparable_type, P1, P2>::apply(comparable, expected_higher… in test_services()
Dpythagoras_point_box.cpp155 typedef bg::strategy::distance::comparable::pythagoras_point_box<> in test_arbitrary_3d()
236 comparable_type comparable = bgsd::services::get_comparable in test_services() local
246 comparable_return_type c_result = comparable.apply(p, b); in test_services()
254 >::apply(comparable, 5.0); in test_services()
259 >::apply(comparable, 6.0); in test_services()
357 comparable_type comparable; in test_integer() local
358 cdistance_type cdistance = comparable.apply(p, b); in test_integer()
427 P, bg::strategy::distance::comparable::pythagoras_point_box<> in time_compare()
/third_party/boost/libs/geometry/doc/generated/
Ddistance.qbk19 Calculate the comparable distance measurement of two geometries using the specified strategy.
22 …ion comparable\u005fdistance does not necessarily calculate the distance, but it calculates a dist…
39 The calculated comparable distance
57 Calculate the comparable distance measurement of two geometries.
60 …ion comparable\u005fdistance does not necessarily calculate the distance, but it calculates a dist…
76 The calculated comparable distance

123456789