I have this code:
VStack {
ForEach(0...2) { i in
HStack {
ForEach(0...2) { j in
Text("test")
}
}
}
}
This give me error Cannot convert value of type 'ClosedRange<Int>' to expected argument type 'Range<Int>'
on both ForEach statements
I've seen threads on this error and kind of get it a bit on how the range thing works but not really. I'm wondering how to fix this error.