-
-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
This code succeeds in Skip Lite but fails at runtime in Skip Fuse. (See also skiptools/skip.dev#12)
It seems like it might not be possible to fix this, but, in that case, it should at least fail at build time instead of at runtime…?
import SwiftUI
struct ContentView: View {
var body: some View {
VStack {
ForEach(0...2, id: \.self) { index in
Text("hello \(index)")
}
}
}
}Logcat shows this error:
Could not cast value of type '(extension in Swift):Swift.ClosedRange<Swift.Int>.Index' (0x6f64ae4570) to 'Swift.Int' (0x6f649bd7e8).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels