blob: 017f4734dd83c6a2feb81df3cb65dbc857b83d33 [file] [log] [blame]
library test;
class Cloneable<T> {}
class Pair<T extends Cloneable<T>, U extends Cloneable<U>> {
T? t;
U? u;
Pair(this.t, this.u);
Pair._();
Pair<U, T> get reversed => new Pair(u, t);
}
main() {}