mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:07:49 +00:00
12 lines
262 B
Plaintext
12 lines
262 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:async" as asy;
|
|
import "dart:core" as core;
|
|
|
|
static method asyncString() → asy::Future<core::String> async {
|
|
return "foo";
|
|
}
|
|
static method main() → dynamic async {
|
|
core::String str = await self::asyncString();
|
|
}
|