When performing a constant visibility check during compilation we might be dealing with unlinked classes and as such should account for the possibility of unresolved parents.