-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Change analysis into proper passes and rearrange data #136
Comments
Good long-term objective, but I do not have any ideas how to do it. |
They might return after architecture changes promised in #136
In the (still in progress) |
I think now's a good time to try implementing some changes to this effect. I intend to continue work on the |
Calling only the analyzers you need from codegen seems limiting and requires workarounds to avoid duplicate work.
A more robust scheme would be to do the analysis first and then let the codegen use that data. Expected benefits:
This is just a first approximation, I've not thought about the ways to organize the data.
TypeId
would probably turn intoDefId
. We could probably learn a thing or two fromrustc
.The text was updated successfully, but these errors were encountered: