[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
val test1 = { when (true) { true -> 1; else -> "" } }
|
||||
|
||||
val test2 = { { when (true) { true -> 1; else -> "" } } }
|
||||
|
||||
val test3: (Boolean) -> Any = { when (true) { true -> 1; else -> "" } }
|
||||
|
||||
val test4: (Boolean) -> Any? = { when (true) { true -> 1; else -> "" } }
|
||||
|
||||
fun println() {}
|
||||
|
||||
val test5 = {
|
||||
when (true) {
|
||||
true -> println()
|
||||
else -> println()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user