Files
kotlin-fork/idea/testData/quickfix/when/addRemainingBranchesBlankLineWithComment.kt
T
Toshiaki Kameyama cbdc79fcda Add when branches: remove unnecessary blank line
#KT-30426 Fixed
2019-03-21 10:58:11 +03:00

13 lines
157 B
Kotlin
Vendored

// "Add remaining branches" "true"
// WITH_RUNTIME
sealed class A
class B : A()
fun test(a: A) {
val r = <caret>when (a) {
// comment
}
}