blob: e599360ea72eeeeb755e398155fa73ba0a2de722 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
abstract class C<T extends core::Object> extends core::Object {
static field dynamic _redirecting# = <dynamic>[self::C::•];
abstract get t() self::C::T;
abstract set t(generic-covariant-impl generic-covariant-interface self::C::T x) void;
static factory •<T extends core::Object>(self::C::•::T t) self::C<self::C::•::T>
let <T extends core::Object>(self::CImpl::•::T) self::CImpl<self::CImpl::•::T> #redirecting_factory = self::CImpl::• in let self::C::•::T #typeArg0 = null in invalid-expression;
}
class CImpl<T extends core::Object> extends core::Object implements self::C<self::CImpl::T> {
generic-covariant-impl generic-covariant-interface field self::CImpl::T t;
constructor _(self::CImpl::T t) void
: self::CImpl::t = t, super core::Object::•()
;
static factory •<T extends core::Object>(self::CImpl::•::T t) self::CImpl<self::CImpl::•::T>
return new self::CImpl::_<self::CImpl::•::T>(t);
}
static method main() dynamic {
self::C<core::int> x = self::CImpl::•<core::int>(42);
}