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 -1
View File
@@ -1,5 +1,5 @@
enum class State {
O
O,
K
}
+2 -2
View File
@@ -1,10 +1,10 @@
fun box() = IssueState.DEFAULT.ToString() + IssueState.FIXED.ToString()
enum class IssueState {
DEFAULT
DEFAULT,
FIXED {
override fun ToString() = "K"
}
};
open fun ToString() : String = "O"
}
+3 -3
View File
@@ -1,7 +1,7 @@
enum class Season {
WINTER
SPRING
SUMMER
WINTER,
SPRING,
SUMMER,
AUTUMN
}