Maybe you have some "uses" in the implementation section?
If so, then maybe one of those used units defines "TPointArray" (or less likely "integer").
That would mean, that even it has the same name (and maybe even the same textual declaration), it may be a distinct type.