mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This is a follow-up to https://github.com/apple/swift/pull/30113 which cased a regression because it was placed under a check which allows direct supertypes to be inferred if previous (failing) binding has a supertype as well which has nothing to do with collection inference. Let's combine supertype check and inference logic to avoid such confusion in the future. Resolves: rdar://problem/60501780
40 KiB
40 KiB