blob: 18357b5fc2077c260662f57b02548119636eb9b9 [file] [log] [blame]
library test;
import self as self;
import "dart:async" as asy;
import "dart:math" as math;
import "dart:core" as core;
import "dart:async";
import "dart:math";
static method test() dynamic {
dynamic f = () asy::Future<dynamic> async {
if(math::Random::•().nextBool()) {
return 1;
}
else {
return 2.0;
}
};
asy::Future<core::num> g = f.call();
asy::Future<core::int> h = f.call();
}
static method main() dynamic {}