-
Notifications
You must be signed in to change notification settings - Fork 22
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
fix(engine) Fix crash with hax_lib::fstar::before
in recursive bundles
#1179
Conversation
…rginal item in rec bundles hashmap.
I guess this was making a collision because of two items sharing a same name below an anonymous const, is that what it is? I think the naming improvements we talked about yesterday will solve those issues. |
The problem is not only about the new names in the bundle. The collision is a problem with the old names because when we rename we need original names to be unique (otherwise if we have two things with the same name and they get different names in the bundle, when we find an occurrence of the old name and have to rename it, which one of the new names do we choose?). The naming improvements could help by allowing to define a name for the |
We should wait for the naming (#1163) to be implemented and use a fresh ident. |
@W95Psp let's merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge and revert when #1199 is in
Fixed elsewhere |
Pull request was closed
fixes #1177
The crash was due to a name collision between the item that has the attribute
hax_lib::fstar::before
and theQuote
item created by theTransformHaxLibInline
phase. Instead of giving it the exact same name as before, we add a postfix.