Created
June 25, 2015 00:11
-
-
Save griotspeak/194b3c0d8341d7bb450e to your computer and use it in GitHub Desktop.
"Ambiguous implied conformance" error
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
public struct MyValue : Comparable { | |
let value: Int | |
} | |
public func ==(first:MyValue, second:MyValue) -> Bool { | |
return true | |
} | |
public func <(first:MyValue, second:MyValue) -> Bool { | |
return true | |
} | |
extension MyValue : Hashable { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment