1 PP1009
Christopher Blappert edited this page 2018-07-25 11:51:30 -07:00

PP1009

__optimize was called on the same function nested inside of multiple nested optimized functions contexts, but evaluating the call in the different contexts produced different results. In this case, it is unclear to Prepack what needs to be emitted. Usually this will be accompanied by other Prepack errors.

The solution to this would be to modify the function you are __optimizeing to not depend on the pieces of the environment that vary between the different parent optimized functions.