TypeScript/tests/baselines/reference/comparisonOperatorWithNoRelationshipPrimitiveType.errors.txt
2014-09-12 13:35:07 -07:00

650 lines
49 KiB
Plaintext

tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(10,12): error TS2365: Operator '<' cannot be applied to types 'number' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(11,12): error TS2365: Operator '<' cannot be applied to types 'number' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(12,12): error TS2365: Operator '<' cannot be applied to types 'number' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(15,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(16,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(17,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(18,12): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(20,12): error TS2365: Operator '<' cannot be applied to types 'string' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(21,12): error TS2365: Operator '<' cannot be applied to types 'string' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(22,12): error TS2365: Operator '<' cannot be applied to types 'string' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(23,12): error TS2365: Operator '<' cannot be applied to types 'string' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(25,12): error TS2365: Operator '<' cannot be applied to types 'void' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(26,12): error TS2365: Operator '<' cannot be applied to types 'void' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(27,12): error TS2365: Operator '<' cannot be applied to types 'void' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(28,12): error TS2365: Operator '<' cannot be applied to types 'void' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(31,12): error TS2365: Operator '<' cannot be applied to types 'E' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(32,12): error TS2365: Operator '<' cannot be applied to types 'E' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(33,12): error TS2365: Operator '<' cannot be applied to types 'E' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(36,12): error TS2365: Operator '>' cannot be applied to types 'number' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(37,12): error TS2365: Operator '>' cannot be applied to types 'number' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(38,12): error TS2365: Operator '>' cannot be applied to types 'number' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(41,12): error TS2365: Operator '>' cannot be applied to types 'boolean' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(42,12): error TS2365: Operator '>' cannot be applied to types 'boolean' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(43,12): error TS2365: Operator '>' cannot be applied to types 'boolean' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(44,12): error TS2365: Operator '>' cannot be applied to types 'boolean' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(46,12): error TS2365: Operator '>' cannot be applied to types 'string' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(47,12): error TS2365: Operator '>' cannot be applied to types 'string' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(48,12): error TS2365: Operator '>' cannot be applied to types 'string' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(49,12): error TS2365: Operator '>' cannot be applied to types 'string' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(51,12): error TS2365: Operator '>' cannot be applied to types 'void' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(52,12): error TS2365: Operator '>' cannot be applied to types 'void' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(53,12): error TS2365: Operator '>' cannot be applied to types 'void' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(54,12): error TS2365: Operator '>' cannot be applied to types 'void' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(57,12): error TS2365: Operator '>' cannot be applied to types 'E' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(58,12): error TS2365: Operator '>' cannot be applied to types 'E' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(59,12): error TS2365: Operator '>' cannot be applied to types 'E' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(62,12): error TS2365: Operator '<=' cannot be applied to types 'number' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(63,12): error TS2365: Operator '<=' cannot be applied to types 'number' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(64,12): error TS2365: Operator '<=' cannot be applied to types 'number' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(67,12): error TS2365: Operator '<=' cannot be applied to types 'boolean' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(68,12): error TS2365: Operator '<=' cannot be applied to types 'boolean' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(69,12): error TS2365: Operator '<=' cannot be applied to types 'boolean' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(70,12): error TS2365: Operator '<=' cannot be applied to types 'boolean' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(72,12): error TS2365: Operator '<=' cannot be applied to types 'string' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(73,12): error TS2365: Operator '<=' cannot be applied to types 'string' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(74,12): error TS2365: Operator '<=' cannot be applied to types 'string' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(75,12): error TS2365: Operator '<=' cannot be applied to types 'string' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(77,12): error TS2365: Operator '<=' cannot be applied to types 'void' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(78,12): error TS2365: Operator '<=' cannot be applied to types 'void' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(79,12): error TS2365: Operator '<=' cannot be applied to types 'void' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(80,12): error TS2365: Operator '<=' cannot be applied to types 'void' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(83,12): error TS2365: Operator '<=' cannot be applied to types 'E' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(84,12): error TS2365: Operator '<=' cannot be applied to types 'E' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(85,12): error TS2365: Operator '<=' cannot be applied to types 'E' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(88,12): error TS2365: Operator '>=' cannot be applied to types 'number' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(89,12): error TS2365: Operator '>=' cannot be applied to types 'number' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(90,12): error TS2365: Operator '>=' cannot be applied to types 'number' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(93,12): error TS2365: Operator '>=' cannot be applied to types 'boolean' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(94,12): error TS2365: Operator '>=' cannot be applied to types 'boolean' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(95,12): error TS2365: Operator '>=' cannot be applied to types 'boolean' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(96,12): error TS2365: Operator '>=' cannot be applied to types 'boolean' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(98,12): error TS2365: Operator '>=' cannot be applied to types 'string' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(99,12): error TS2365: Operator '>=' cannot be applied to types 'string' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(100,12): error TS2365: Operator '>=' cannot be applied to types 'string' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(101,12): error TS2365: Operator '>=' cannot be applied to types 'string' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(103,12): error TS2365: Operator '>=' cannot be applied to types 'void' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(104,12): error TS2365: Operator '>=' cannot be applied to types 'void' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(105,12): error TS2365: Operator '>=' cannot be applied to types 'void' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(106,12): error TS2365: Operator '>=' cannot be applied to types 'void' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(109,12): error TS2365: Operator '>=' cannot be applied to types 'E' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(110,12): error TS2365: Operator '>=' cannot be applied to types 'E' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(111,12): error TS2365: Operator '>=' cannot be applied to types 'E' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(114,12): error TS2365: Operator '==' cannot be applied to types 'number' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(115,12): error TS2365: Operator '==' cannot be applied to types 'number' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(116,12): error TS2365: Operator '==' cannot be applied to types 'number' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(119,12): error TS2365: Operator '==' cannot be applied to types 'boolean' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(120,12): error TS2365: Operator '==' cannot be applied to types 'boolean' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(121,12): error TS2365: Operator '==' cannot be applied to types 'boolean' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(122,12): error TS2365: Operator '==' cannot be applied to types 'boolean' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(124,12): error TS2365: Operator '==' cannot be applied to types 'string' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(125,12): error TS2365: Operator '==' cannot be applied to types 'string' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(126,12): error TS2365: Operator '==' cannot be applied to types 'string' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(127,12): error TS2365: Operator '==' cannot be applied to types 'string' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(129,12): error TS2365: Operator '==' cannot be applied to types 'void' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(130,12): error TS2365: Operator '==' cannot be applied to types 'void' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(131,12): error TS2365: Operator '==' cannot be applied to types 'void' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(132,12): error TS2365: Operator '==' cannot be applied to types 'void' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(135,12): error TS2365: Operator '==' cannot be applied to types 'E' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(136,12): error TS2365: Operator '==' cannot be applied to types 'E' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(137,12): error TS2365: Operator '==' cannot be applied to types 'E' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(140,12): error TS2365: Operator '!=' cannot be applied to types 'number' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(141,12): error TS2365: Operator '!=' cannot be applied to types 'number' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(142,12): error TS2365: Operator '!=' cannot be applied to types 'number' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(145,12): error TS2365: Operator '!=' cannot be applied to types 'boolean' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(146,12): error TS2365: Operator '!=' cannot be applied to types 'boolean' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(147,12): error TS2365: Operator '!=' cannot be applied to types 'boolean' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(148,12): error TS2365: Operator '!=' cannot be applied to types 'boolean' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(150,12): error TS2365: Operator '!=' cannot be applied to types 'string' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(151,12): error TS2365: Operator '!=' cannot be applied to types 'string' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(152,12): error TS2365: Operator '!=' cannot be applied to types 'string' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(153,12): error TS2365: Operator '!=' cannot be applied to types 'string' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(155,12): error TS2365: Operator '!=' cannot be applied to types 'void' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(156,12): error TS2365: Operator '!=' cannot be applied to types 'void' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(157,12): error TS2365: Operator '!=' cannot be applied to types 'void' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(158,12): error TS2365: Operator '!=' cannot be applied to types 'void' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(161,12): error TS2365: Operator '!=' cannot be applied to types 'E' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(162,12): error TS2365: Operator '!=' cannot be applied to types 'E' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(163,12): error TS2365: Operator '!=' cannot be applied to types 'E' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(166,12): error TS2365: Operator '===' cannot be applied to types 'number' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(167,12): error TS2365: Operator '===' cannot be applied to types 'number' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(168,12): error TS2365: Operator '===' cannot be applied to types 'number' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(171,12): error TS2365: Operator '===' cannot be applied to types 'boolean' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(172,12): error TS2365: Operator '===' cannot be applied to types 'boolean' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(173,12): error TS2365: Operator '===' cannot be applied to types 'boolean' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(174,12): error TS2365: Operator '===' cannot be applied to types 'boolean' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(176,12): error TS2365: Operator '===' cannot be applied to types 'string' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(177,12): error TS2365: Operator '===' cannot be applied to types 'string' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(178,12): error TS2365: Operator '===' cannot be applied to types 'string' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(179,12): error TS2365: Operator '===' cannot be applied to types 'string' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(181,12): error TS2365: Operator '===' cannot be applied to types 'void' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(182,12): error TS2365: Operator '===' cannot be applied to types 'void' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(183,12): error TS2365: Operator '===' cannot be applied to types 'void' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(184,12): error TS2365: Operator '===' cannot be applied to types 'void' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(187,12): error TS2365: Operator '===' cannot be applied to types 'E' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(188,12): error TS2365: Operator '===' cannot be applied to types 'E' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(189,12): error TS2365: Operator '===' cannot be applied to types 'E' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(192,12): error TS2365: Operator '!==' cannot be applied to types 'number' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(193,12): error TS2365: Operator '!==' cannot be applied to types 'number' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(194,12): error TS2365: Operator '!==' cannot be applied to types 'number' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(197,12): error TS2365: Operator '!==' cannot be applied to types 'boolean' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(198,12): error TS2365: Operator '!==' cannot be applied to types 'boolean' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(199,12): error TS2365: Operator '!==' cannot be applied to types 'boolean' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(200,12): error TS2365: Operator '!==' cannot be applied to types 'boolean' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(202,12): error TS2365: Operator '!==' cannot be applied to types 'string' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(203,12): error TS2365: Operator '!==' cannot be applied to types 'string' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(204,12): error TS2365: Operator '!==' cannot be applied to types 'string' and 'void'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(205,12): error TS2365: Operator '!==' cannot be applied to types 'string' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(207,12): error TS2365: Operator '!==' cannot be applied to types 'void' and 'number'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(208,12): error TS2365: Operator '!==' cannot be applied to types 'void' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(209,12): error TS2365: Operator '!==' cannot be applied to types 'void' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(210,12): error TS2365: Operator '!==' cannot be applied to types 'void' and 'E'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(213,12): error TS2365: Operator '!==' cannot be applied to types 'E' and 'boolean'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(214,12): error TS2365: Operator '!==' cannot be applied to types 'E' and 'string'.
tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts(215,12): error TS2365: Operator '!==' cannot be applied to types 'E' and 'void'.
==== tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts (144 errors) ====
enum E { a, b, c }
var a: number;
var b: boolean;
var c: string;
var d: void;
var e: E;
// operator <
var r1a1 = a < b;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'number' and 'boolean'.
var r1a1 = a < c;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'number' and 'string'.
var r1a1 = a < d;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'number' and 'void'.
var r1a1 = a < e; // no error, expected
var r1b1 = b < a;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'number'.
var r1b1 = b < c;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'string'.
var r1b1 = b < d;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'void'.
var r1b1 = b < e;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'E'.
var r1c1 = c < a;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'string' and 'number'.
var r1c1 = c < b;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'string' and 'boolean'.
var r1c1 = c < d;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'string' and 'void'.
var r1c1 = c < e;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'string' and 'E'.
var r1d1 = d < a;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'void' and 'number'.
var r1d1 = d < b;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'void' and 'boolean'.
var r1d1 = d < c;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'void' and 'string'.
var r1d1 = d < e;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'void' and 'E'.
var r1e1 = e < a; // no error, expected
var r1e1 = e < b;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'E' and 'boolean'.
var r1e1 = e < c;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'E' and 'string'.
var r1e1 = e < d;
~~~~~
!!! error TS2365: Operator '<' cannot be applied to types 'E' and 'void'.
// operator >
var r2a1 = a > b;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'number' and 'boolean'.
var r2a1 = a > c;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'number' and 'string'.
var r2a1 = a > d;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'number' and 'void'.
var r2a1 = a > e; // no error, expected
var r2b1 = b > a;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'boolean' and 'number'.
var r2b1 = b > c;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'boolean' and 'string'.
var r2b1 = b > d;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'boolean' and 'void'.
var r2b1 = b > e;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'boolean' and 'E'.
var r2c1 = c > a;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'string' and 'number'.
var r2c1 = c > b;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'string' and 'boolean'.
var r2c1 = c > d;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'string' and 'void'.
var r2c1 = c > e;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'string' and 'E'.
var r2d1 = d > a;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'void' and 'number'.
var r2d1 = d > b;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'void' and 'boolean'.
var r2d1 = d > c;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'void' and 'string'.
var r2d1 = d > e;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'void' and 'E'.
var r2e1 = e > a; // no error, expected
var r2e1 = e > b;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'E' and 'boolean'.
var r2e1 = e > c;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'E' and 'string'.
var r2e1 = e > d;
~~~~~
!!! error TS2365: Operator '>' cannot be applied to types 'E' and 'void'.
// operator <=
var r3a1 = a <= b;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'number' and 'boolean'.
var r3a1 = a <= c;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'number' and 'string'.
var r3a1 = a <= d;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'number' and 'void'.
var r3a1 = a <= e; // no error, expected
var r3b1 = b <= a;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'boolean' and 'number'.
var r3b1 = b <= c;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'boolean' and 'string'.
var r3b1 = b <= d;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'boolean' and 'void'.
var r3b1 = b <= e;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'boolean' and 'E'.
var r3c1 = c <= a;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'string' and 'number'.
var r3c1 = c <= b;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'string' and 'boolean'.
var r3c1 = c <= d;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'string' and 'void'.
var r3c1 = c <= e;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'string' and 'E'.
var r3d1 = d <= a;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'void' and 'number'.
var r3d1 = d <= b;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'void' and 'boolean'.
var r3d1 = d <= c;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'void' and 'string'.
var r3d1 = d <= e;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'void' and 'E'.
var r3e1 = e <= a; // no error, expected
var r3e1 = e <= b;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'E' and 'boolean'.
var r3e1 = e <= c;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'E' and 'string'.
var r3e1 = e <= d;
~~~~~~
!!! error TS2365: Operator '<=' cannot be applied to types 'E' and 'void'.
// operator >=
var r4a1 = a >= b;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'number' and 'boolean'.
var r4a1 = a >= c;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'number' and 'string'.
var r4a1 = a >= d;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'number' and 'void'.
var r4a1 = a >= e; // no error, expected
var r4b1 = b >= a;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'boolean' and 'number'.
var r4b1 = b >= c;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'boolean' and 'string'.
var r4b1 = b >= d;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'boolean' and 'void'.
var r4b1 = b >= e;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'boolean' and 'E'.
var r4c1 = c >= a;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'string' and 'number'.
var r4c1 = c >= b;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'string' and 'boolean'.
var r4c1 = c >= d;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'string' and 'void'.
var r4c1 = c >= e;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'string' and 'E'.
var r4d1 = d >= a;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'void' and 'number'.
var r4d1 = d >= b;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'void' and 'boolean'.
var r4d1 = d >= c;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'void' and 'string'.
var r4d1 = d >= e;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'void' and 'E'.
var r4e1 = e >= a; // no error, expected
var r4e1 = e >= b;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'E' and 'boolean'.
var r4e1 = e >= c;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'E' and 'string'.
var r4e1 = e >= d;
~~~~~~
!!! error TS2365: Operator '>=' cannot be applied to types 'E' and 'void'.
// operator ==
var r5a1 = a == b;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'number' and 'boolean'.
var r5a1 = a == c;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'number' and 'string'.
var r5a1 = a == d;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'number' and 'void'.
var r5a1 = a == e; // no error, expected
var r5b1 = b == a;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'boolean' and 'number'.
var r5b1 = b == c;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'boolean' and 'string'.
var r5b1 = b == d;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'boolean' and 'void'.
var r5b1 = b == e;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'boolean' and 'E'.
var r5c1 = c == a;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'string' and 'number'.
var r5c1 = c == b;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'string' and 'boolean'.
var r5c1 = c == d;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'string' and 'void'.
var r5c1 = c == e;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'string' and 'E'.
var r5d1 = d == a;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'void' and 'number'.
var r5d1 = d == b;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'void' and 'boolean'.
var r5d1 = d == c;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'void' and 'string'.
var r5d1 = d == e;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'void' and 'E'.
var r5e1 = e == a; // no error, expected
var r5e1 = e == b;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'E' and 'boolean'.
var r5e1 = e == c;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'E' and 'string'.
var r5e1 = e == d;
~~~~~~
!!! error TS2365: Operator '==' cannot be applied to types 'E' and 'void'.
// operator !=
var r6a1 = a != b;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'number' and 'boolean'.
var r6a1 = a != c;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'number' and 'string'.
var r6a1 = a != d;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'number' and 'void'.
var r6a1 = a != e; // no error, expected
var r6b1 = b != a;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'boolean' and 'number'.
var r6b1 = b != c;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'boolean' and 'string'.
var r6b1 = b != d;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'boolean' and 'void'.
var r6b1 = b != e;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'boolean' and 'E'.
var r6c1 = c != a;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'string' and 'number'.
var r6c1 = c != b;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'string' and 'boolean'.
var r6c1 = c != d;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'string' and 'void'.
var r6c1 = c != e;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'string' and 'E'.
var r6d1 = d != a;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'void' and 'number'.
var r6d1 = d != b;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'void' and 'boolean'.
var r6d1 = d != c;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'void' and 'string'.
var r6d1 = d != e;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'void' and 'E'.
var r6e1 = e != a; // no error, expected
var r6e1 = e != b;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'E' and 'boolean'.
var r6e1 = e != c;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'E' and 'string'.
var r6e1 = e != d;
~~~~~~
!!! error TS2365: Operator '!=' cannot be applied to types 'E' and 'void'.
// operator ===
var r7a1 = a === b;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'number' and 'boolean'.
var r7a1 = a === c;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'number' and 'string'.
var r7a1 = a === d;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'number' and 'void'.
var r7a1 = a === e; // no error, expected
var r7b1 = b === a;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'boolean' and 'number'.
var r7b1 = b === c;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'boolean' and 'string'.
var r7b1 = b === d;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'boolean' and 'void'.
var r7b1 = b === e;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'boolean' and 'E'.
var r7c1 = c === a;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'string' and 'number'.
var r7c1 = c === b;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'string' and 'boolean'.
var r7c1 = c === d;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'string' and 'void'.
var r7c1 = c === e;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'string' and 'E'.
var r7d1 = d === a;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'void' and 'number'.
var r7d1 = d === b;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'void' and 'boolean'.
var r7d1 = d === c;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'void' and 'string'.
var r7d1 = d === e;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'void' and 'E'.
var r7e1 = e === a; // no error, expected
var r7e1 = e === b;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'E' and 'boolean'.
var r7e1 = e === c;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'E' and 'string'.
var r7e1 = e === d;
~~~~~~~
!!! error TS2365: Operator '===' cannot be applied to types 'E' and 'void'.
// operator !==
var r8a1 = a !== b;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'number' and 'boolean'.
var r8a1 = a !== c;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'number' and 'string'.
var r8a1 = a !== d;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'number' and 'void'.
var r8a1 = a !== e; // no error, expected
var r8b1 = b !== a;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'boolean' and 'number'.
var r8b1 = b !== c;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'boolean' and 'string'.
var r8b1 = b !== d;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'boolean' and 'void'.
var r8b1 = b !== e;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'boolean' and 'E'.
var r8c1 = c !== a;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'string' and 'number'.
var r8c1 = c !== b;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'string' and 'boolean'.
var r8c1 = c !== d;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'string' and 'void'.
var r8c1 = c !== e;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'string' and 'E'.
var r8d1 = d !== a;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'void' and 'number'.
var r8d1 = d !== b;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'void' and 'boolean'.
var r8d1 = d !== c;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'void' and 'string'.
var r8d1 = d !== e;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'void' and 'E'.
var r8e1 = e !== a; // no error, expected
var r8e1 = e !== b;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'E' and 'boolean'.
var r8e1 = e !== c;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'E' and 'string'.
var r8e1 = e !== d;
~~~~~~~
!!! error TS2365: Operator '!==' cannot be applied to types 'E' and 'void'.