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.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Insert lacking comma(s) / semicolon(s)" "true"
|
||||
|
||||
enum class MyEnum {
|
||||
A {
|
||||
override fun foo(): Int = 13
|
||||
}
|
||||
B C<caret> {
|
||||
override fun foo(): Int = 23
|
||||
}
|
||||
open fun foo(): Int = 42
|
||||
}
|
||||
Reference in New Issue
Block a user