Access-level on imports is designed to downgrade the visibility of imported decls. Add a check to apply this logic only to decls that were originally visible: public and same-package. rdar://143008763