Skip to content

async_generator_resume can enter unreachable code #708

Open

Description

@aapoalas

Unreachable block in nova_vm/src/ecmascript/builtins/control_abstraction_objects/async_generator_objects/async_generator_abstract_operations.rs:217:17: is entered, causing 26 tests to crash.

Activity

  1. added
    bug
    good first issue
    on May 21, 2025
  2. EthanThatOneKid commented on Nov 21, 2026

    @EthanThatOneKid

    I can't reproduce this on current main (591bf7b) — the 26 crashing tests described here no longer crash:

    • The AsyncGenerator test262 subset (995 tests) has 0 crashes.
    • None of the 162 tests that expectations.json lists as crashing panics in async_generator_*.rs.

    This was most likely fixed by a0a3c1f (PromiseResolve on Await(value) and AsyncGeneratorCompleteStep on broken promises) and #1001 (AsyncGenerator::is_executing with Await). I didn't bisect to confirm which one. Could a maintainer close this if it matches your view?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions