blob: d0b0616de91e9954bae522feabbed3e94f616ca9 [file] [log] [blame]
class P<T> {
const P(T t);
}
class A<X> extends P<X> {
const A.foo(X x) : super(x);
A(super.x) : assert(const F.foo("foo") == const A.foo("foo"));
}
typedef F<Y> = A<Y>;