Skip to content

fix(vm): handle AsyncGeneratorAwaitReturn PromiseResolve abrupt completion (#709)#958

Merged
aapoalas merged 5 commits intotrynova:mainfrom
replygirl:fix/vm-709-await-return-promise-abrupt
Mar 7, 2026
Merged

fix(vm): handle AsyncGeneratorAwaitReturn PromiseResolve abrupt completion (#709)#958
aapoalas merged 5 commits intotrynova:mainfrom
replygirl:fix/vm-709-await-return-promise-abrupt

Conversation

@replygirl
Copy link
Contributor

@replygirl replygirl commented Feb 22, 2026

Split from #950

Fixes #709
Refs #950

Copy link
Member

@aapoalas aapoalas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, nice! This is a meaningful change that fixes some issues, very very nice indeed!

Some issues remain though, let's fix those before merging this <3

@replygirl
Copy link
Contributor Author

Alright, nice! This is a meaningful change that fixes some issues, very very nice indeed!

Some issues remain though, let's fix those before merging this <3

i'm dead but will come back around in the next few days :)

@replygirl replygirl changed the title fix(vm): handle AsyncGeneratorAwaitReturn PromiseResolve abrupt completion (#709) fix(test262): remove stale async-generator return FAIL expectations (#709) Feb 22, 2026
@aapoalas
Copy link
Member

Too much simplification.

@replygirl
Copy link
Contributor Author

replygirl commented Feb 22, 2026

Too much simplification.

LMAO i'm too tired

@replygirl replygirl force-pushed the fix/vm-709-await-return-promise-abrupt branch from 68a5f07 to 13f2caa Compare February 22, 2026 12:38
@replygirl replygirl changed the title fix(test262): remove stale async-generator return FAIL expectations (#709) fix(vm): handle AsyncGeneratorAwaitReturn PromiseResolve abrupt completion (#709) Feb 22, 2026
@aapoalas aapoalas force-pushed the fix/vm-709-await-return-promise-abrupt branch from c705272 to e5aff15 Compare March 7, 2026 22:20
@aapoalas
Copy link
Member

aapoalas commented Mar 7, 2026

Sorry @replygirl, I went and did the changes needed :) This turned out to require a bit more effort, as adding error throwing to Promise::resolve meant having to change the VM code a little.

@aapoalas aapoalas merged commit a0a3c1f into trynova:main Mar 7, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Specification assertion fails in AsyncGenerator.prototype.return

2 participants