Create class from usage fix: enum entries are created with new constructor syntax
This commit is contained in:
+1
-1
@@ -5,6 +5,6 @@ package p
|
||||
fun foo() = X.A
|
||||
|
||||
enum class X(n: Int) {
|
||||
A : X()
|
||||
A()
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user