Created
July 24, 2022 21:36
-
-
Save pofat/e641572f812dc004057a1a0a3c3f716a to your computer and use it in GitHub Desktop.
Code that crash Swift compiler (before 5.8)
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 P { | |
associatedtype A | |
associatedtype B | |
} | |
protocol Q: P {} | |
extension Q where A == Int { | |
typealias B = Int | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment