[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
package a
|
||||
|
||||
import java.util.Iterator
|
||||
import java.lang.Comparable as Comp
|
||||
|
||||
fun bar(any: Any): java.lang.Iterable<Int>? {
|
||||
val a: java.lang.Comparable<String>? = null
|
||||
val b: Iterable<Integer>
|
||||
val c : Iterator<String>? = null
|
||||
|
||||
if (any is Iterator<*>) {
|
||||
checkSubtype<Iterator<*>>(any)
|
||||
}
|
||||
any as Iterator<*>
|
||||
return null
|
||||
}
|
||||
Reference in New Issue
Block a user