Files
2022-01-12 15:09:45 +01:00

7 lines
118 B
Kotlin
Vendored

import Base.*
fun use(x: Base): String =
when (x) {
is A -> "A"
is B -> "B"
}