-
Notifications
You must be signed in to change notification settings - Fork 97
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
Repro and Fix for issue #2529 #2531
Conversation
This PR does not affect the produced WebAssembly code. |
@nomeata PTAL moved the repro to test/mo-idl, it's proper home |
So the bug is that the Which raises another question, why do we number form 1, not 0, so the first renaming is always _2 (not _1)? Was there a rationale for this? In another branch, I'll experiment with normalizing the type to avoid all these weird indirections. |
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.
Thanks for fix!
Which raises another question, why do we number form 1, not 0, so the first renaming is always _2 (not _1)? Was there a rationale for this?
Yeah, it's an arbitrary choice, 0 is probably better.
Ok, I'll renumber and also normalize defs. |
@chenyan-dfinity PTAL |
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.
LGTM
No description provided.