Skip to content
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

Compile error with Xcode 9.3.1 (9E501) #2

Open
aral opened this issue May 14, 2018 · 4 comments
Open

Compile error with Xcode 9.3.1 (9E501) #2

aral opened this issue May 14, 2018 · 4 comments

Comments

@aral
Copy link

aral commented May 14, 2018

Initially got a compile error due to Team/Signing (easy enough to fix).

Then the following:

screen shot 2018-05-14 at 15 53 47

Swift Compiler Error Group
/Users/aral/sandbox/crdt-playground/CRDTPlayground/External/BinaryCodableExtensions.swift:42:1: Type 'Element' does not conform to protocol 'Decodable'
/Users/aral/sandbox/crdt-playground/CRDTPlayground/External/BinaryCodableExtensions.swift:42:1: 'BinaryDecodable' requires that 'Element' conform to 'Decodable'
/Users/aral/sandbox/crdt-playground/CRDTPlayground/External/BinaryCodableExtensions.swift:42:1: Requirement specified as 'Element' : 'Decodable'
/Users/aral/sandbox/crdt-playground/CRDTPlayground/External/BinaryCodableExtensions.swift:42:1: Requirement from conditional conformance of 'Array<Element>' to 'Decodable'
/Users/aral/sandbox/crdt-playground/CRDTPlayground/TestingExtras/Data Interfaces/CausalTreeBezierWrapper.swift:450:16: Cannot invoke initializer for type 'AnyCollection<_>' with an argument list of type '(LazyMapSequence<LazyFilterSequence<EnumeratedSequence<Weave<DrawDatum>.AtomsSlice>>, WeaveIndex>)'
/Users/aral/sandbox/crdt-playground/CRDTPlayground/TestingExtras/Data Interfaces/CausalTreeBezierWrapper.swift:450:16: Overloads for 'AnyCollection<_>' exist with these partially matching parameter lists: (AnyCollection<Element>), (AnyBidirectionalCollection<Element>), (AnyRandomAccessCollection<Element>)
@malcommac
Copy link

same here

@macteo
Copy link

macteo commented Nov 16, 2018

I've added support for Xcode 10.1 and Swift 4.2 in the #3 PR

@macteo
Copy link

macteo commented Nov 16, 2018

This is now possible thanks to Conditional Conformance on Swift 4.2.

jeffd pushed a commit to jeffd/crdt-playground that referenced this issue Dec 14, 2019
@Cyclic
Copy link

Cyclic commented May 8, 2020

Any chance you can get this to compile with Xcode 11.4.1 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants