You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ADVANCED_OPTIMIZATIONS option, the compiler ignores overriden functions that just call base class method without passing optional arguments:
I think there was an optimization added recently that removes overrides that do nothing but call the base method. Sometimes you need these so you can add more specific type annotations, but at runtime there's no value in keeping them. I'll see if I can find it.
OptimizeCalls can change the number of parameters, which breaks the assumption
of RemoveSuperMethodsPass in some cases.
Fixesgoogle#2122 on GitHub.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137999659
When using ADVANCED_OPTIMIZATIONS option, the compiler ignores overriden functions that just call base class method without passing optional arguments:
it is ok when undefined height is passed explicitly
However, if height is not passed, the compiler throws away Bar.prototype.resize method completely
this bar will be removed from output code
Minimal code to reproduce this issue: main.txt
The text was updated successfully, but these errors were encountered: