Compile error with Xcode 9.3.1 (9E501)
Opened this issue · 4 comments
aral commented
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>)
malcommac commented
same here
macteo commented
This is now possible thanks to Conditional Conformance on Swift 4.2.
Cyclic commented
Any chance you can get this to compile with Xcode 11.4.1 ?