library; import self as self; import "dart:async" as asy; import "dart:core" as core; static method asyncString() → asy::Future async { return "foo"; } static method main() → dynamic async { core::String str = await self::asyncString(); }