crdt-playground
crdt-playground copied to clipboard
Compile error with Xcode 9.3.1 (9E501)
Initially got a compile error due to Team/Signing (easy enough to fix).
Then the following:

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>)
same here
I've added support for Xcode 10.1 and Swift 4.2 in the #3 PR
This is now possible thanks to Conditional Conformance on Swift 4.2.
Any chance you can get this to compile with Xcode 11.4.1 ?