6354d9d54f
#KT-19580
7 lines
118 B
Kotlin
Vendored
7 lines
118 B
Kotlin
Vendored
import Base.*
|
|
|
|
fun use(x: Base): String =
|
|
when (x) {
|
|
is A -> "A"
|
|
is B -> "B"
|
|
} |