Files
swift-mirror/lib/AST/SubstitutionMap.cpp
Doug Gregor dc7a251d4c [SubstitutionMap] Handle substitution of non-canonical generic parameters.
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.
2018-05-11 13:18:06 -07:00

24 KiB