mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Comma must present now between enum entries, semicolon between last entry & first member, constructor calls must be without colons / specifiers. A swarm of tests fixed accordingly.
9 lines
132 B
Kotlin
Vendored
9 lines
132 B
Kotlin
Vendored
// ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
enum class En(val b: Boolean = true, val i: Int = 0) {
|
|
E1(),
|
|
E2(true, 1),
|
|
E3(i = 2)
|
|
}
|