You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in PR #2618, we have previously been evaluating Return statements as normal completions and Yield statements a non-normal completion (ReturnType::Yield and now CompletionRecord::Return). This should be a different case with Yield statements being normal completions (CompletionRecord::Normal) and return statements being return completions (CompletionRecord::Return).
Completing the above change appears to require more evaluation/reevaluation of Generator executions and/or CompletionRecord semantics in the Vm as when the change was initially attempted, a number of test262 tests failed.
The text was updated successfully, but these errors were encountered:
As mentioned in PR #2618, we have previously been evaluating
Return
statements as normal completions andYield
statements a non-normal completion (ReturnType::Yield
and nowCompletionRecord::Return
). This should be a different case withYield
statements being normal completions (CompletionRecord::Normal
) and return statements being return completions (CompletionRecord::Return
).Completing the above change appears to require more evaluation/reevaluation of
Generator
executions and/orCompletionRecord
semantics in theVm
as when the change was initially attempted, a number oftest262
tests failed.The text was updated successfully, but these errors were encountered: