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
+6 -6
View File
@@ -1,13 +1,13 @@
enum class Color(val rgb : Int) {
RED : Color(0xFF0000)
GREEN : Color(0x00FF00)
BLUE : Color(0x0000FF)
RED(0xFF0000),
GREEN(0x00FF00),
BLUE(0x0000FF)
}
enum class Direction {
NORTH
SOUTH
WEST
NORTH,
SOUTH,
WEST,
EAST
}
+2 -2
View File
@@ -1,6 +1,6 @@
enum class Test {
A
B
A,
B,
C
}