Skip to content

Can not use await in Dart expression evaluation #1287

Open
@grouma

Description

@grouma

When using await in a Dart expression, you'll get the following error:

CompilationError: 'await' can only be used in 'async' or 'async*' methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions