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

Make the compiler re-entrant #4589

Closed
Tracked by #4594
jfecher opened this issue Mar 19, 2024 · 1 comment
Closed
Tracked by #4594

Make the compiler re-entrant #4589

jfecher opened this issue Mar 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jfecher
Copy link
Contributor

jfecher commented Mar 19, 2024

Problem

If new code is inserted into the codebase by macros, the compiler will need to partially or fully restart so that the new code still undergoes name resolution and type checking.

Happy Case

Make the compiler re-entrant so that existing code can be re-checked in a new context with possibly additional names defined or new types, impls in scope, etc.

Project Impact

None

Impact Context

No response

Workaround

None

Workaround Description

No response

Additional Context

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

@jfecher jfecher added the enhancement New feature or request label Mar 19, 2024
@jfecher
Copy link
Contributor Author

jfecher commented May 30, 2024

This is no longer planned - we've switched over to using an elaborator and no longer need the compiler to loop

@jfecher jfecher closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant