bugfix: check if type is set after make sure the expression is of Array/Map literal