correctly identify types assignable from arrays