mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Introduce a warning about redeclaring the associated types from an inherited protocol in the protocol being checked: * If the new declaration is an associated type, note that the declaration could be replaced by requirements in the protocol's where clause. * If the new declaration is a typealias, note that it could be replaced by a same-type constraint in the protocol's where clause.
2.1 KiB
2.1 KiB