blob: 1e5883c24aadc9b40bbe576c7cf800c4c1ce10fc [file] [log] [blame]
main = main::main;
library from "org-dartlang-test:///main.dart" as main {
//
// Problems in library:
//
// org-dartlang-test:///main.dart:3:3: Error: 'await' can only be used in 'async' or 'async*' methods.
// await foo();
// ^^^^^
//
static method main() dynamic {
invalid-expression "org-dartlang-test:///main.dart:3:3: Error: 'await' can only be used in 'async' or 'async*' methods.\n await foo();\n ^^^^^";
}
static method foo() dynamic {}
}
And 18 platform libraries:
- dart:_http
- dart:_builtin
- dart:vmservice_io
- dart:async
- dart:cli
- dart:collection
- dart:convert
- dart:core
- dart:developer
- dart:ffi
- dart:nativewrappers
- dart:_internal
- dart:io
- dart:isolate
- dart:math
- dart:mirrors
- dart:typed_data
- dart:_vmservice