Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Christopher Blappert edited this page Jul 20, 2018 · 1 revision

Called __optimize on function in failed speculative context

This error occurs when __optimize is called in an evaluateForEffects context where the effects are subsequently not applied. The function cannot be optimized because the function object is incomplete without the effects.

This can occur when we are in pure mode and speculatively execute something that defines a function, calls __optimize on it, then fails and is delayed to runtime.