mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
There is nothing specifically wrong with uttering a same-type constraint in a where clause where both sides are concrete types. Downgrade this to a warning; we'll check that the concrete types match (of course), and such a well-formed constraint will simply be canonicalized away. This aids the migration of IndexDistance from an associated type to Int.
237 KiB
237 KiB