blob: f3422b1ddda8f288ba5fd847e69b309536289a17 [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:async" as asy;
import "dart:core" as core;
static method foo1() asy::Future<void> async /* futureValueType= void */ {
await 6;
}
static method foo2() asy::Future<core::int> async /* futureValueType= core::int */ {
return (await 6).{core::num::+}(3){(core::num) core::int};
}
static method foo3() asy::Future<void> async /* futureValueType= void */ {
#L1:
await for (final dynamic x in new asy::_EmptyStream::•<dynamic>()) {
break #L1;
}
}
static method main() void {
self::foo1();
self::foo2();
self::foo3();
}