ImmutableScriptFlagsEnum::FunctionHasNewTargetBinding must be set for lazy function if it contains new.target.
jsparagus doesn't support new.target, but the fallback happens only when delazifying, and the compilation of the enclosing script finishes successfully, and not-setting the flag causes wrong delazification.
ImmutableScriptFlagsEnum::FunctionHasNewTargetBinding
must be set for lazy function if it containsnew.target
.jsparagus doesn't support
new.target
, but the fallback happens only when delazifying, and the compilation of the enclosing script finishes successfully, and not-setting the flag causes wrong delazification.