//ww:error "index must be integer" package main; fn main() i32 = { let a: [3]i32 = [10i32, 20i32, 30i32]; let f: f64 = 1.0; return a[f]; };