Last active
June 22, 2016 01:24
-
-
Save banjun/465d9533bbaa62654c71b2e4a2b7da37 to your computer and use it in GitHub Desktop.
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
// causes crash of swift-3.0-preview-1-SNAPSHOT-2016-05-31-a-osx and 2016-06-06 | |
// /Library/Developer/Toolchains/swift-3.0-preview-1-SNAPSHOT-2016-05-31-a.xctoolchain/usr/bin/swift swift3-preview1-crash-example1.swift | |
// /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-06-06-a.xctoolchain/usr/bin/swift swift3-preview1-crash-example1.swift | |
// removing any of Equatable or type constraints will make it | |
protocol P1 { | |
associatedtype A1: Equatable | |
} | |
class C1<T: Equatable> { | |
} | |
class C2<T: Equatable, U: P1 where U.A1 == T>: C1<T> { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
submitted to the radar and JIRA.
https://bugs.swift.org/browse/SR-1813