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