Slava Pestov
c365ef32c6
Sema: Handle protocol compositions containing type variables in matchTypes()
...
We would previously fail to match something like (C<$T1> & P) against
(C<Int> & P) when the constraint kind was <= Subtype, because we would
fall back to a type equality test in that case.
However, this was only valid for protocol compositions without superclass
constraints since the superclass could contain a type variable on one
side of the constraint.
Fix this by adding support for protocol composition types to
matchDeepEqualityTypes().
2019-06-17 18:40:31 -04:00
..
2019-06-11 18:58:11 -07:00
2019-06-11 17:34:44 -07:00
2019-06-11 18:58:11 -07:00
2019-06-14 11:49:18 -07:00
2019-06-13 01:03:33 -07:00
2019-04-24 10:09:17 -07:00
2019-04-24 10:09:17 -07:00
2019-05-13 11:40:43 -07:00
2019-05-13 11:40:43 -07:00
2019-06-17 18:40:31 -04:00
2019-06-17 18:40:31 -04:00
2019-06-11 18:58:11 -07:00
2019-06-13 00:56:06 -07:00
2019-06-13 10:55:43 -07:00
2019-06-11 02:47:32 -07:00
2019-06-12 16:25:41 -07:00
2019-04-15 00:22:29 -04:00
2019-06-14 12:35:32 -04:00
2019-06-14 12:35:31 -04:00
2019-06-14 12:35:32 -04:00
2019-06-14 12:37:13 -04:00
2019-06-13 18:26:29 -07:00
2019-06-11 17:34:44 -07:00
2019-06-17 18:40:31 -04:00
2019-06-12 16:25:41 -07:00
2019-05-29 16:39:41 -07:00
2019-05-13 11:40:43 -07:00
2019-04-23 11:31:58 -07:00
2019-06-11 02:47:32 -07:00
2019-03-25 10:30:57 -07:00
2019-06-11 14:22:48 -07:00
2019-06-11 02:47:32 -07:00
2019-06-11 11:41:58 -07:00
2019-06-08 13:02:49 -07:00
2019-05-28 14:20:59 -07:00
2019-05-28 14:20:59 -07:00
2019-05-13 16:41:32 -07:00
2019-06-11 02:47:32 -07:00
2019-03-31 01:36:19 -04:00
2019-03-28 15:57:53 -07:00
2019-05-16 12:07:41 +01:00
2019-05-28 14:20:59 -07:00
2019-05-28 14:20:59 -07:00
2019-05-16 13:13:48 -07:00
2019-05-08 10:11:52 -07:00
2019-04-18 20:14:21 -07:00
2019-06-13 18:26:29 -07:00
2019-04-05 20:10:10 -07:00
2019-06-14 09:23:33 -07:00
2019-06-11 02:47:32 -07:00
2019-02-04 13:50:46 -08:00
2019-04-23 11:32:28 -07:00
2019-06-14 01:10:53 -07:00
2019-06-13 20:50:20 -07:00
2019-06-03 22:50:02 -07:00
2019-06-13 17:27:56 -07:00
2019-06-14 08:03:09 -07:00
2019-06-14 01:10:53 -07:00
2019-05-29 22:17:50 -07:00
2019-03-08 16:31:31 -08:00
2019-05-02 15:02:11 -07:00
2019-05-15 20:40:54 -07:00
2019-06-11 02:47:32 -07:00
2019-06-03 22:50:02 -07:00
2019-05-20 11:28:46 -07:00
2019-06-14 01:13:24 -07:00
2019-06-11 11:41:58 -07:00
2019-05-28 22:08:31 -04:00
2019-06-11 02:47:32 -07:00
2019-04-29 10:37:59 -04:00
2019-06-11 17:34:45 -07:00
2019-06-11 17:34:45 -07:00
2019-04-05 09:14:54 -07:00
2019-06-12 16:31:32 -07:00
2019-06-11 17:34:44 -07:00