Deprecated enum syntax removed: most idea tests

This commit is contained in:
Mikhail Glukhikh
2015-08-07 17:07:23 +03:00
parent b2653ad1e9
commit 022e7d1169
42 changed files with 88 additions and 93 deletions
@@ -6,7 +6,7 @@ class MyClass {
}
enum class P {
A
A;
val a = 1
fun foo() = 1
@@ -5,7 +5,7 @@ class MyClass {
}
enum class P {
A
A;
val a = 1
fun foo() = 1
@@ -1,15 +1,15 @@
package test
enum class E {
O
O,
A {
override fun bar(n: Int): Int = n + 1
}
},
B {
override fun bar(n: Int): Int = n + 2
}
};
open fun bar(n: Int): Int = n
}
@@ -1,15 +1,15 @@
package test
enum class E {
O
O,
A {
override fun foo(n: Int): Int = n + 1
}
},
B {
override fun foo(n: Int): Int = n + 2
}
};
open fun foo(n: Int): Int = n
}