Doug Gregor
c98295357c
[Archetype builder] Simplify handling of typealiases in protocols.
...
PotentialArchetype::getNestedType() was effectively reimplementing a
simplified form of mapTypeOutOfContext(), missing some cases in the
process. Just use mapTypeOutOfContext() and resolveArchetype(). While
here, stop re-implementing the addSameType* operations; just call them
directly. With these changes, we no longer need the "typealias in
protocol is too complex" diagnostic.
Eliminates another use of getSelfTypeInContext().
2016-12-02 15:31:04 -08:00
..
2016-11-20 17:36:03 +01:00
2016-10-29 10:22:58 +02:00
2016-11-20 17:36:03 +01:00
2016-11-28 10:50:55 -08:00
2016-09-21 19:26:10 -07:00
2016-11-17 11:26:36 -08:00
2016-09-02 21:36:45 -07:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-10-29 10:22:58 +02:00
2016-09-28 11:11:17 -07:00
2016-09-15 17:06:12 -07:00
2016-09-21 09:00:22 -07:00
2016-11-20 17:36:03 +01:00
2016-09-10 20:05:42 -07:00
2016-10-13 11:32:24 -07:00
2016-11-28 10:50:55 -08:00
2016-11-28 10:50:55 -08:00
2016-11-28 10:50:55 -08:00
2016-11-28 10:50:55 -08:00
2016-09-18 07:40:07 +02:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-09-02 21:36:45 -07:00
2016-10-29 10:22:58 +02:00
2016-11-28 10:50:55 -08:00
2016-09-10 20:05:42 -07:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-09-22 16:28:57 +02:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-09-21 19:26:10 -07:00
2016-11-20 17:36:03 +01:00
2016-09-23 14:48:48 -07:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-09-15 13:27:36 -07:00
2016-09-10 20:05:42 -07:00
2016-11-28 10:50:55 -08:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-09-10 20:05:42 -07:00
2016-11-20 17:36:03 +01:00
2016-11-28 10:50:55 -08:00
2016-11-20 17:36:03 +01:00
2016-10-30 10:59:02 +01:00
2016-09-02 21:36:45 -07:00
2016-09-02 21:36:45 -07:00
2016-09-02 21:36:45 -07:00
2016-11-28 10:50:55 -08:00
2016-09-02 21:36:45 -07:00
2016-09-02 21:36:45 -07:00
2016-09-18 07:40:07 +02:00
2016-09-02 21:36:45 -07:00
2016-09-23 11:05:55 -07:00
2016-12-01 13:00:17 -08:00
2016-11-20 17:36:03 +01:00
2016-09-02 21:36:45 -07:00
2016-09-18 07:40:07 +02:00
2016-09-21 09:00:22 -07:00
2016-12-02 15:31:04 -08:00
2016-11-28 10:50:55 -08:00
2016-10-29 10:22:58 +02:00
2016-11-18 00:39:14 -08:00
2016-09-21 19:26:10 -07:00
2016-10-29 10:22:58 +02:00
2016-09-18 07:40:07 +02:00
2016-11-28 10:50:55 -08:00
2016-11-20 17:36:03 +01:00
2016-09-15 10:20:09 -07:00
2016-11-28 10:50:55 -08:00
2016-11-28 10:50:55 -08:00
2016-10-13 10:19:38 -07:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-12-01 20:26:10 -08:00
2016-12-02 10:44:51 -08:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-11-20 17:36:03 +01:00
2016-10-29 10:22:58 +02:00
2016-11-24 10:46:36 +09:00
2016-09-21 19:26:10 -07:00
2016-11-28 10:50:55 -08:00
2016-11-20 17:36:03 +01:00
2016-11-28 10:50:55 -08:00
2016-09-10 20:05:43 -07:00
2016-10-29 10:22:58 +02:00
2016-11-28 10:50:55 -08:00
2016-10-11 15:54:16 -07:00
2016-11-20 17:36:03 +01:00