Only warn on duplicate var annotations if they differ