Skip to content

Do not load modules of the same package if built from interface #64488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2023
Merged

Conversation

elsh
Copy link
Contributor

@elsh elsh commented Mar 20, 2023

  • Do not load modules of the same package if built from interface
  • Show diagnostics with an interface path
    Resolves rdar://104617990

@nkcsgexi
Copy link
Contributor

This seems to be too restrictive. Modules belong to the same package should load even with only textual interfaces, no?

@elsh
Copy link
Contributor Author

elsh commented Mar 21, 2023

This seems to be too restrictive. Modules belong to the same package should load even with only textual interfaces, no?

Interface modules should load if they are from a different package; will update accordingly.

@elsh elsh changed the title Do not load a package module if built from interface Do not load in-package module if built from interface Mar 21, 2023
@elsh
Copy link
Contributor Author

elsh commented Mar 21, 2023

@swift-ci smoke test

@elsh
Copy link
Contributor Author

elsh commented Mar 21, 2023

@swift-ci clean smoke test

@elsh
Copy link
Contributor Author

elsh commented Mar 21, 2023

@swift-ci clean smoke test

- Show diagnostics with an interface path

Resolves rdar://104617990
@elsh
Copy link
Contributor Author

elsh commented Mar 23, 2023

@swift-ci smoke test

@elsh elsh changed the title Do not load in-package module if built from interface Do not load modules of the same package if built from interface Mar 23, 2023
@elsh elsh merged commit c2bb890 into main Mar 23, 2023
@elsh elsh deleted the es-load branch March 23, 2023 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants