A generic type argument must be a type.
x: string := ""; y: array<x>; // ^ This is not a type.
Specify a type.