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