Editorial: allow [[AsyncEvaluationOrder]] to have any value when errored#3787
Open
nicolo-ribaudo wants to merge 3 commits intotc39:mainfrom
Open
Editorial: allow [[AsyncEvaluationOrder]] to have any value when errored#3787nicolo-ribaudo wants to merge 3 commits intotc39:mainfrom
nicolo-ribaudo wants to merge 3 commits intotc39:mainfrom
Conversation
nicolo-ribaudo
commented
Mar 30, 2026
|
The rendered spec for this PR is available as a single page at https://tc39.es/ecma262/pr/3787 and as multiple pages at https://tc39.es/ecma262/pr/3787/multipage . |
michaelficarra
approved these changes
Mar 30, 2026
syg
approved these changes
Mar 30, 2026
gibson042
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3613 (comment).
[[AsyncEvaluationOrder]] is only use/used for non-yet evaluated modules.
~DONE~was added to distinguish the "not an integer and never was" case an assertion (Editorial: Adjust invalid assertion about [[AsyncEvaluationOrder]] #3613 (comment)) from "not an integer anymore" case (before we would just transition back from an integer to UNSET, or from true to false when using booleans). The goal of that assertion was to assert that "when we start executing an async module, we never tried to execute it before": leaving [[AsyncEvaluationOrder]] as an integer still fulfills that goal.