typing: adapt for typed literal arrays.