3 PP0037
Dominic Gannaway edited this page 2018-06-13 23:54:06 +01:00

failed to recover from a for/while loop bail-out due to unsupported logic in loop body

When Prepack encounters a for/while loop with abstract properties, there's a possibility that Prepack cannot evaluate parts of the loop and has to fail. Upon failure to evaluate parts of the loop, Prepack will attempt to recover in pure scope. If this error occurs, it's because Prepack failed to recover due to unsupported logic in loop body. This is most likely because the loop body contained return, throw, arguments or uses a labelled continue or break. These are currently not supported and are features to be added in the future.