mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
It looks like the devirtualizer used to have problems computing method types in the presence of generic substitutions, covariant returns and other things, so it would bail if a perticular set of pre-conditions was not met on the types of original method call and the devirtualized method call. I don't think any of this is necessary anymore. If this patch introduces any regressions, we need to fix the root cause instead of re-introducing this logic.
2.6 KiB
2.6 KiB