library test; | |
import self as self; | |
import "dart:core" as core; | |
import "dart:async" as asy; | |
import "dart:async"; | |
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(#C1); | |
dynamic b = f.then(#C2); | |
} | |
static method main() → dynamic {} | |
constants { | |
#C1 = tearoff self::add | |
#C2 = tearoff self::add2 | |
} |