summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/when/addRemainingBranchesEnumImport2.kt.after
blob: 2ddedeb682ee7c0757256cccd5f92dcf63e294cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
import Foo.*

enum class Foo {
    A, B, C
}

class Test {
    fun foo(e: Foo) {
        when<caret> (e) {
            A, B -> TODO()
            C -> TODO()
        }
    }
}
/* IGNORE_FIR */