Files
kotlin-fork/idea/testData/quickfix/migration/enumDelimiter/commaNoSemicolon.kt
T
Mikhail Glukhikh edd269f5ff Quick fix for enum entry delimiter syntax fix, together with a set of tests.
Possible NPE in getNextSiblingIgnoringWhitespace fixed. Some warnings also removed.
Last comma is replaced by semicolon. Comments are taken into account.
2015-05-15 16:13:39 +03:00

7 lines
121 B
Kotlin
Vendored

// "Insert lacking comma(s) / semicolon(s)" "true"
enum class MyEnum {
FIRST,
SECOND<caret>,
val zzz = 42
}