-
Notifications
You must be signed in to change notification settings - Fork 82
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
_analyzed.pil
output files can't be run again
#2052
Comments
The function is declared as One difference between the two commands is that the first one runs in "asm mode" while the second one runs in "pil mode", but since the type checker only kicks in after the asm to pil transformation, that shouldn't make a big difference. |
I have been looking into this. First of all, this is a reduced version of the problem. The type_vars were changed to simplify the substitutions:
if we remove The problem seems to be that we store all the substitutions of The same problem could be created by the As a side note, I also believe that these parameters: powdr/pil-analyzer/src/type_inference.rs Line 539 in 83c5894
should be inverted (otherwise, every duplicated requested will be overwritten). But this alone doesn't fix the problem.
I'll keep looking for the solution, just dropping by to update (ofc, ideas are welcome). |
I would expect this to work:
The file is just the printed
Analyzed<T>
.The text was updated successfully, but these errors were encountered: