blob: 7a588c02558fc26fcc0b25ab27f4fe99103e0554 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
static field dynamic y = self::run<dynamic>(#C1);
static method run<T extends core::Object* = dynamic>(() →* self::run::T* f) self::run::T* {
core::print("running");
dynamic t = f.call();
core::print("done running");
return t;
}
static method printRunning() void {
core::print("running");
}
static method main() dynamic {}
constants {
#C1 = tearoff self::printRunning
}