Enum parsing changed: first entries, then members. Grammar fixed accordingly.
A set of compiler tests and some plugin tests changed accordingly. Compiler Kotlin code changed accordingly.
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
enum class A {
|
||||
constructor(x: Int) {}
|
||||
|
||||
abc1 : A(1,2,3)
|
||||
abc2 : A(1,2,3) {}
|
||||
abc3
|
||||
|
||||
constructor(x: Int) {}
|
||||
|
||||
init {}
|
||||
|
||||
abc3
|
||||
|
||||
constructor(x: Int): this() {}
|
||||
init {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user