blob: 1b93d99b3d78823ad271ea84c6619a137fd25a21 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class Foo<T extends core::Pattern = core::Pattern> extends core::Object {
synthetic constructor •() self::Foo<self::Foo::T>
: super core::Object::•()
;
method method<generic-covariant-impl U extends self::Foo::T = self::Foo::T>(self::Foo::method::U u) self::Foo::method::U
return u;
}
static method main() dynamic {
new self::Foo::•<core::String>().{self::Foo::method}<core::int>(42);
}