Commit Graph

2 Commits

Author SHA1 Message Date
Huon Wilson
db04e817cc [test] Stop a test relying on inconsistent formatting of an error message.
Fixes rdar://problem/42351773.
2018-07-19 09:39:06 +10:00
Huon Wilson
ea1560f43b [AST] Member lookup in the GSB needs to understand equivalence classes with concrete types.
A constraint like `Parameter == SomethingConcrete` means references to
`Parameter` in that context behave like `SomethingConcrete`, including for name
resolution. Handling the parameter as just a parameter type means that it won't
find any non-protocol nested types (i.e. things other than associated types and
protocol typealiases are invisible).

Fixes rdar://problem/42136457 and SR-8240.
2018-07-17 22:54:22 +10:00