Skip to content
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

retry compilation when a type is forwarded or unforwarded #71

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

tjknoth
Copy link
Contributor

@tjknoth tjknoth commented Mar 1, 2024

This adds functionality to recover from errors than can occur when moving type definitions from a forwarded package to a first-order import. To address the issue, we store a list of forwarded-imports in PackageExports, and check that those imports are still available when re-compiling. If they are not, we recompile the source file.

@CuppoJava CuppoJava merged commit b1eb79b into master Apr 12, 2024
3 checks passed
@CuppoJava CuppoJava deleted the JITX-7615-retry-compilation-for-forwarded-types branch April 22, 2024 01:14
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.

2 participants