[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
interface A0<T : A0<T>>
|
||||
interface A1<T : A1<*>>
|
||||
interface A2<T : A2<out T>>
|
||||
// StackOverflowError
|
||||
//interface A3<T : A3<in T>>
|
||||
interface A4<T : A4<*>?>
|
||||
|
||||
interface B0<T : B1<*>>
|
||||
interface B1<T : B0<*>>
|
||||
|
||||
interface AA<T: AA<*>>
|
||||
interface BB<S : List<AA<*>>>
|
||||
|
||||
interface A<T: List<T, T, T>>
|
||||
|
||||
class X<Y>
|
||||
class D<T : X<in X<out X<T>>>>
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// !DIAGNOSTICS: -UPPER_BOUND_VIOLATED
|
||||
|
||||
interface C0<T, S : C0<*, S>>
|
||||
|
||||
interface C1<T : C1<T, *>, S : C1<S, *>> // T -> S, S -> S
|
||||
interface C2<T : C2<T, *>, S : C2<*, S>> // T -> S, S -> T
|
||||
|
||||
interface D1<T, U> where T : U, U: D1<*, U>
|
||||
interface D2<T, U> where T : U?, U: D2<*, *>
|
||||
interface D3<T, U, V> where T : U, U : V, V: D3<*, *, V>
|
||||
|
||||
interface A<T, U> where T : A<U, T>, U: A<T, A<in U, T>>
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
// FILE: A.java
|
||||
public class A<T extends A> {}
|
||||
|
||||
// FILE: 1.kt
|
||||
class B<S: A<*>>
|
||||
Reference in New Issue
Block a user