Files
kotlin-fork/idea/testData/quickfix/when/addRemainingBranchesAnotherPackageAll.after.kt
T
Mikhail Glukhikh ef094e78e3 Add when branches (minor): 'with import' -> 'with * import'
Change name of quick-fix to more descriptive one
2018-08-20 13:21:18 +03:00

16 lines
268 B
Kotlin
Vendored

// "Add remaining branches with * import" "true"
package u
import e.OwnEnum
import e.OwnEnum.*
import e.getOwnEnum
fun mainContext() {
val ownLocal = getOwnEnum()
when (ownLocal) {
RED -> TODO()
GREEN -> TODO()
BLUE -> TODO()
}
}