mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the access level of a protocol witness does not satisfies a requirement, the compiler suggests marking it as the required level. This is not suitable when the witness is in an extension whose specified access level is less than the required level, since the fixit fights with other warnings in this case. This patch identifies such case and produces improved diagnostics. Resolves: SR-9793
5.6 KiB
5.6 KiB