E3003 Types Errors
Types
invalid array index type; array indices must be integers
When this occurs
`arr["foo"]` instead of `arr[0]`
Example error message
error[E3003]:
index must be an integer, got STRING
How to fix
Array/string indices must be integers. Convert your index to an integer.