Files
kotlin-fork/idea/testData/quickfix/when/addRemainingBranchesEnumImport4.kt.after
T
2021-05-11 21:42:45 +02:00

32 lines
474 B
Plaintext
Vendored

// "Add remaining branches with * import" "true"
// WITH_RUNTIME
import Baz.*
import Foo.*
import Foo.B
enum class Foo {
A, B, C
}
enum class Baz {
AA, B, CC
}
class Test {
fun foo(e: Foo) {
when (e) {
A -> TODO()
B -> TODO()
C -> TODO()
}
}
fun baz(e: Baz) {
when<caret> (e) {
AA -> TODO()
Baz.B -> TODO()
CC -> TODO()
}
}
}
/* IGNORE_FIR */