Commit Graph

1 Commits

Author SHA1 Message Date
Huon Wilson
be5a3abcd6 [Sema] Ensure that NameAliasTypes record the right substitutions.
If a typealias is inside a protocol, and things are defined in a certain order,
the NameAliasType for that typealias can be constructed before the parent
protocol has been validated (i.e. before its generic environment exists), in
which case it is missing the necessary substitutions.

Fixes rdar://problem/39636312.
2018-04-26 23:55:54 +10:00