mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Use the same infrastructure we have for same-type-to-concrete constraints to check superclass constraints. Specifically, * Track all superclass constraints; never "update" a requirement source * Remove self-derived superclass constraints * Pick the best superclass constraint within each connected component of an equivalence class and use that for requirement generation. * Diagnose conflicting superclass requirements during finalization * Diagnose redundant superclass requirements (during finalization)
704 B
704 B