blob: 42f01d5f29da73651dcc02fc915d8f561b5e87a0 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
static field void y = self::run<void>(#C1);
static method run<T extends core::Object* = dynamic>(() →* self::run::T* f) self::run::T* {
core::print("running");
self::run::T* 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
}