Avatar
swiftbot BOT 6/8/2018 4:38 AM
Author icon
koher
let a: CountableRange<Int> = 1..<10 print(a.map { $0 * 2 })
Version:
swift-4.1.1-RELEASE
Output:
[2, 4, 6, 8, 10, 12, 14, 16, 18]
Error: