Skip to content

VM crash on await in assert. #22728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lrhn opened this issue Mar 9, 2015 · 2 comments
Closed

VM crash on await in assert. #22728

lrhn opened this issue Mar 9, 2015 · 2 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Comments

@lrhn
Copy link
Member

lrhn commented Mar 9, 2015

Example code:
  main() async {
    assert(await false);
    print("Didn't throw");
  }

When run in debug build of VM, ends with:

runtime/vm/flow_graph_builder.cc:2314: error: unreachable code
Aborted (core dumped)

@iposva-google
Copy link
Contributor

cc @mraleph.
cc @fsc8000.
cc @sgmitrovic.
Set owner to @crelier.
Added Accepted label.

@crelier
Copy link
Contributor

crelier commented Mar 10, 2015

Fixed at r44388.


Added Fixed label.

@lrhn lrhn added Type-Defect area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels Mar 10, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

4 participants