从无法访问的项目Fork
体验新版 GitCode,发现更多精彩内容 >>
// !DIAGNOSTICS: -UPPER_BOUND_VIOLATED //// FILE: D.java public interface D<W> {} // FILE: Q.java public interface Q<Z1, Z2> {} // FILE: C.java public interface C<X> extends D<P<X,X>> {} // FILE: 1.kt interface P<Y1, Y2> : Q<C<Y1>, C<D<Y2>>>