Files
kotlin-fork/compiler/testData/diagnostics/tests/unit/nullableUnit.fir.kt
T

6 lines
61 B
Kotlin
Vendored

fun foo() {}
val x: Unit? = when ("A") {
"B" -> foo()
}