Mute test and create issue KT-15972.
This commit is contained in:
@@ -16,9 +16,9 @@ interface B<R, T: B<List<R>, <!UPPER_BOUND_VIOLATED!>T<!>>> {
|
||||
}
|
||||
|
||||
fun testB(b: B<*, *>) {
|
||||
b.r().checkType { _<Any?>() }
|
||||
b.t().checkType { _<B<List<*>, *>>() }
|
||||
<!TYPE_MISMATCH(B<out Any?, out B<List<*>, *>>; B<*, *>)!>b<!>.r().checkType { _<Any?>() }
|
||||
<!TYPE_MISMATCH(B<out Any?, out B<List<*>, *>>; B<*, *>)!>b<!>.t().checkType { _<B<List<*>, *>>() }
|
||||
|
||||
b.t().r().size
|
||||
<!TYPE_MISMATCH(B<List<Any?>, out B<List<*>, *>>; B<List<*>, *>)!><!TYPE_MISMATCH(B<out Any?, out B<List<*>, *>>; B<*, *>)!>b<!>.t()<!>.r().size
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user