Cannot invoke initializer for type ‘Range’ with an argument list of type ‘(Range)’

Some background: In Swift 3, additional range types were introduced, making a total of four (see for example Ole Begemann: Ranges in Swift 3): Range, ClosedRange, CountableRange, CountableClosedRange With the implementation of SE-0143 Conditional conformances in Swift 4.2, the “countable” variants are not separate types anymore, but (constrained) type aliases, for example public typealias CountableRange<Bound: … Read more