mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Override checking checks if the derived declaration's generic signature is compatible with the base, but it does this after doing a bunch of other checks which feed potentially invalid type parameters to generic signature queries. Now that the requirement machine is stricter about this kind of this, re-organize some code to get around this. Unfortunately this regresses a diagnostic, because we reject candidates with mismatched generic requirements earlier in the process.
58 KiB
58 KiB