mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Single type of keypath dynamic member lookup could refer to different member overlaods, we have to do a pair-wise comparison in such cases otherwise ranking would miss some viable information e.g. `_ = arr[0..<3]` could refer to subscript through writable or read-only key path and each of them could also pick overload which returns `Slice<T>` or `ArraySlice<T>` (assuming that `arr` is something like `Box<[Int]>`).
51 KiB
51 KiB