[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
fun foo(x: Int, list: List<Int>?) {
|
||||
when (x) {
|
||||
in list!! -> checkSubtype<List<Int>>(list)
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
|
||||
fun whenWithoutSubject(x: Int, list: List<Int>?) {
|
||||
when {
|
||||
x in list!! -> checkSubtype<List<Int>>(list)
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user