mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SubstitutionMap::lookupSubstitution() assumed that any type parameter it was given would already be canonical, and fail (return a null Type) when given a type parameter that was equivalent to another type parameter but is not itself canonical. Canonicalize, recursive, and record the replacement type appropriately.
24 KiB
24 KiB