We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Attachment: Download
Xcode 9.3 beta 4 (9Q127n)
Apple Swift version 4.1 (swiftlang-902.0.43 clang-902.0.37.1)
md5: 4610ee81bca21be30a0b7a2efb11db87
duplicates:
Issue Description:
The attached project has the following error in iOS Release builds only:
Sources/Model.swift:75:5: error: type 'Optional<Wrapped>' does not conform to protocol 'AnyModelValue' extension Optional: ModelValue where Wrapped: ModelValue { ^ Sources/Model.swift:8:17: note: type 'Optional<Wrapped>' does not conform to inherited protocol 'AnyModelValue' public protocol ModelValue: AnyModelValue, Hashable { ^
iOS Debug, macOS Debug, and macOS Release all compile successfully.
The text was updated successfully, but these errors were encountered:
@DougGregor, @huonw, this is the "conditional conformance doesn't handle inherited protocols correctly" error. Do you have the dup for it?
Sorry, something went wrong.
@mdiep: Workaround: explicitly declare conditional conformance to AnyModelValue too.
No branches or pull requests
Attachment: Download
Environment
Xcode 9.3 beta 4 (9Q127n)
Apple Swift version 4.1 (swiftlang-902.0.43 clang-902.0.37.1)
Additional Detail from JIRA
md5: 4610ee81bca21be30a0b7a2efb11db87
duplicates:
Issue Description:
The attached project has the following error in iOS Release builds only:
iOS Debug, macOS Debug, and macOS Release all compile successfully.
The text was updated successfully, but these errors were encountered: