This is valid in an Xcode playground:
let x = 3
for i in x.stride(through: 10, by: 1) {
print(i)
}
Fire gives
error E44: No member "stride through by" on type "Integer"
This is valid in an Xcode playground:
let x = 3
for i in x.stride(through: 10, by: 1) {
print(i)
}
Fire gives
error E44: No member "stride through by" on type "Integer"
Thanks, logged as bugs://74581
bugs://74581 got closed with status fixed.
It’s the Strideable protocol implemented by Double and Float
Implemented for int32, int64, float and double, now.
Logged as bugs://i62635.
bugs://i62635 was closed as fixed.