edd269f5ff
Possible NPE in getNextSiblingIgnoringWhitespace fixed. Some warnings also removed. Last comma is replaced by semicolon. Comments are taken into account.
23 lines
389 B
Kotlin
Vendored
23 lines
389 B
Kotlin
Vendored
// "Insert lacking comma(s) / semicolon(s) in the whole project" "true"
|
|
|
|
enum class First {
|
|
RED GREEN,
|
|
BLUE
|
|
}
|
|
|
|
enum class Second(val code: Int) {
|
|
NORTH(2) SOUTH(4),
|
|
EAST(6) WEST(8)
|
|
}
|
|
|
|
enum class Third {
|
|
OK {
|
|
override fun diag(): String = "OK"
|
|
}
|
|
ERROR<caret> {
|
|
override fun diag(): String = "Failed"
|
|
}
|
|
|
|
open fun diag(): String = ""
|
|
}
|