mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +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.
16 lines
176 B
Kotlin
Vendored
16 lines
176 B
Kotlin
Vendored
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
enum class Enum {
|
|
ENTRY1, ENTRY2;
|
|
|
|
inner class Inner
|
|
|
|
class Nested
|
|
|
|
interface Trait
|
|
|
|
val c: Int = 1
|
|
|
|
fun f(): Int = 2
|
|
} |