[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
//KT-5155 Auto-casts do not work with when
|
||||
|
||||
fun foo(s: String?) {
|
||||
when {
|
||||
s == null -> 1
|
||||
s.foo() -> 2
|
||||
else -> 3
|
||||
}
|
||||
}
|
||||
|
||||
fun String.foo() = true
|
||||
Reference in New Issue
Block a user