DEBSOURCES
Skip Quicknav
sources / kotlin / 1.3.31%2Bds1-3 / idea / resources / intentionDescriptions / AddWhenRemainingBranchesIntention / before.kt.template
12345678910
enum class Entry { FOO, BAR, BAZ } fun test(e: Entry): Int { return when (e) { <spot>Entry.FOO -> 1 else -> 0</spot> } }