mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This helps us to filter out cases like operator overloads where
`Self` type comes from e.g. default for collection element -
`[1, "hello"].map { $0 + 1 }`. Main problem here is that
collection type couldn't be determined without unification to
`Any` and `+` failing for all numeric overloads is just a consequence.
299 KiB
299 KiB