Quick fix for enum entry super constructor syntax fix, together with a set of tests
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// "Change to short enum entry super constructor" "true"
|
||||
|
||||
enum class MyEnum(val z: Int) {
|
||||
A: MyEnum(3)<caret>
|
||||
B(7)
|
||||
C(12)
|
||||
fun foo() = z * 2
|
||||
}
|
||||
Reference in New Issue
Block a user