blob: f3677cd0f8d6a0e22da1c47c15eaba22e6f5a043 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
static method f<S extends core::Object? = dynamic, T extends core::Object? = dynamic>(self::f::S% s) self::f::T%
return throw "";
static method test() dynamic {
core::String x = self::f<core::int, core::String>(42);
core::String y = #C1<core::int, core::String>(42){(core::int) → core::String};
}
constants {
#C1 = static-tearoff self::f
}