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,8 +1,6 @@
|
||||
package foo
|
||||
|
||||
enum class B(open val bar: Int) {
|
||||
val x = 1
|
||||
var y = 12;
|
||||
a : B(0) {
|
||||
override val bar = 3
|
||||
init {
|
||||
@@ -12,6 +10,8 @@ enum class B(open val bar: Int) {
|
||||
b : B(4) {
|
||||
}
|
||||
c : B(5)
|
||||
val x = 1
|
||||
var y = 12;
|
||||
}
|
||||
|
||||
trait X {
|
||||
|
||||
Reference in New Issue
Block a user