blob: 3927ddc164fec9c951c895dd2ebad6cc11c5cba6 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
import "dart:async" as asy;
import "dart:async";
static method foo<X extends core::Object?>(self::foo::X% x) asy::Future<core::int> async /* emittedValueType= core::int */ {
if(x is asy::Future<core::int>) {
return x{self::foo::X% & asy::Future<core::int> /* '%' & '!' = '!' */};
}
else {
throw 42;
}
}
static method main() dynamic {}