Files
kotlin-fork/compiler/testData/diagnostics/testsWithJsStdLib/native/rtti/whenIsNativeInterface.fir.kt
T

10 lines
118 B
Kotlin
Vendored

external interface I
external interface J
fun box(a: Any) = when (a) {
is I -> 0
!is J -> 1
else -> 2
}