mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
Grammar changed accordingly. Semicolons prohibited after an entry except the last one. Only one initializer is allowed per entry. EnumReferenceExpression AST node introduced. Some tests fixed, a pair of new tests written. Kotlin code inside project fixed. Formatter and intendation tests fixed accordingly. Stub version is incremented.
6 lines
130 B
Kotlin
Vendored
6 lines
130 B
Kotlin
Vendored
// Error: name should present
|
|
enum class<!SYNTAX!><!>(val rgb : Int) {
|
|
RED(0xFF000),
|
|
GREEN(0x00FF00),
|
|
BLUE(0x0000FF)
|
|
} |