mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
- Unqualified lookup was incorrectly checking generic arguments even when resolving interface types, resulting in a bogus 'Self does not conform to P' error when referencing a generic typealias from inside a protocol. - The generic argument check was also done incorrectly if the underlying type did not contain any type parameters, resulting in bogus ErrorTypes. Just remove the no-type-parameter "optimization" instead, since it was working around another crash. - When opening up a generic typealias in the constraint solver, we did the wrong thing if the generic typealias was defined in a protocol, producing concrete substitutions for the parent type instead of a 'Self := ParentType' substitution. Fixes <rdar://problem/32633645>.
66 KiB
66 KiB