Skip to content

VM crash on "await x++". #22634

Closed
Closed
@lrhn

Description

@lrhn

Example code:
  main() async {
    var x = 0;
    await x++;
  }
yields:

runtime/vm/scopes.h:62: error: expected: HasIndex()
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority bug; for example, a single project is unusable or has many test failuresarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions