Deprecated enum syntax removed: most compiler tests

This commit is contained in:
Mikhail Glukhikh
2015-08-07 16:28:20 +03:00
parent 90f94b47db
commit b2653ad1e9
78 changed files with 175 additions and 171 deletions
@@ -1,9 +1,9 @@
enum class A1(val prop1: String) {
X: A1("asd")
Y: A1() {
X("asd"),
Y() {
override fun f() = super.f() + "#Y"
}
Z: A1(5)
},
Z(5);
val prop2: String = "const2"
var prop3: String = ""
@@ -19,11 +19,11 @@ enum class A1(val prop1: String) {
}
enum class A2 {
X: A2("asd")
Y: A2() {
X("asd"),
Y() {
override fun f() = super.f() + "#Y"
}
Z: A2(5)
},
Z(5);
val prop1: String
val prop2: String = "const2"