Quick fix for enum entry super constructor syntax fix, together with a set of tests
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Change to short enum entry super constructor" "true"
|
||||
|
||||
enum class SimpleEnum(val z: String = "xxx") {
|
||||
FIRST(),
|
||||
SECOND: SimpleEnum("42")<caret>,
|
||||
LAST("13");
|
||||
|
||||
fun foo() = z
|
||||
}
|
||||
Reference in New Issue
Block a user