mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Without this, we only considered a protocol refinement rule redundant if it was derived by directly-stated protocol refinements. But this broke when completion introduced a 'transitive' refinement [P].[R] => [P] from two directly-stated refinements [P].[Q] => [P] and [Q].[R] => [Q]. Fixes rdar://problem/90402503.
8.4 KiB
8.4 KiB