-
Notifications
You must be signed in to change notification settings - Fork 17
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
Inconsistent behavior of the miniboxing plugin code transformations #242
Comments
@lastland yes, it's not yet automated. To be honest, seeing all the bugs Or, maybe, would putting the classes in the |
I don't think that it would be more difficult than adding |
No, it can't be automated. Now I'm see what you mean, the different transformations are inconsistent:
I agree this causes confusion. What do you think would be a good approach? |
I imagine it could all start from the
Then, if you don't add any What do you think? |
I agree. It feels most natural from a user's perspective (well, from my perspective 😜). |
Thanks @lastland! |
runtime.math
are not used when marked miniboxed
Of course. No worries. 😄 |
Cool, thanks @lastland! I will update the behavior for the next milestone. In the meantime, if you notice any strange behavior/need help getting the miniboxing plugin to do what you want, ask on gitter anytime. |
The following code will report that
Fractional
has been upgraded toMiniboxedFractional
, but it's not.A proof is that there's a bug in
MiniboxedFractional
as shown in #241 , but the bug does not appear in the above program.If you look into
InteropTreeTransformer
, you will find that the transformer will trigger a warning about the upgrades, but actually does nothing in transformingtree0
:The text was updated successfully, but these errors were encountered: