Type check target of assignment