Created
May 25, 2021 20:34
-
-
Save ffried/cc0d682598c1ed8e30790446e208f947 to your computer and use it in GitHub Desktop.
Incorrect redundant conformance constraint warnings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol P0 { | |
associatedtype Parent: P0 | |
} | |
protocol P1: P0 {} | |
protocol P2: P1 { | |
associatedtype X: P4 where X.Parent == Self | |
} | |
protocol P4: P0 where Parent: P1 { | |
associatedtype Y: P5 where Y.Parent == Self | |
} | |
protocol P5: P0 where Parent: P4 {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment