typing: adapt for typed literal arrays.

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add base_array_lit_typed.nit

Signed-off-by: Jean Privat <jean@pryen.org>