Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Dominic Gannaway edited this page Jun 13, 2018 · 3 revisions

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.

Clone this wiki locally