New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode 8.3 beta 3 is complaining that type doesn't conform to protocol Equatable #6
Comments
This seems to work in Xcode 8.2.1 and according to this any Swift code compatible to Swift 3.0 should also compile in 3.1. I'm downloading the latest beta right now and will look into this in detail. |
@tomquist thanks a bunch! |
EqualsXcode8_3.zip |
Adding this line to your struct resolves the issue. However I think this is a bug in Swift 3.1. I'll open a Swift bug and link this here. |
@tomquist after adding a typealias i've seen - |
Try |
Oh just tried it but this won't work either because the compiler uses the wrong anchor type to resolve Hashes.
|
I created this Swift Jira issue: https://bugs.swift.org/browse/SR-4143 |
Has been fixed in the Swift compiler. Thanks for reporting this issue. I will test this again once the next snapshot is available. |
@tomquist many thanks for your help and fast feedback! |
Fixed in Xcode 8.2 beta 4 |
I'm getting this error:
Here is the code:
Proposed solution by Xcode:
Equals version - 2.0.0
Any thoughts, ideas?
Thanks in advance!
The text was updated successfully, but these errors were encountered: