blob: 2654b7e684f26c5cf75c6f385c700885e2c7bc65 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
import "dart:async" as asy;
static method add(core::int x) void {}
static method add2(core::int y) dynamic {}
static method test() dynamic {
asy::Future<core::int> f;
dynamic a = f.then(self::add);
dynamic b = f.then(self::add2);
}
static method main() dynamic {}