8aec99f4b5
- parse destructuring declarations - parse annotations on variable declaration in when subject
13 lines
242 B
Kotlin
Vendored
13 lines
242 B
Kotlin
Vendored
fun test() {
|
|
when (val) {}
|
|
when (val x1) {}
|
|
when (val x2 = ) {}
|
|
when (val x3: ) {}
|
|
|
|
when (fun foo() {}) {}
|
|
when (class C {}) {}
|
|
when (interface I {}) {}
|
|
when (object Obj {}) {}
|
|
when (typealias TA = T) {}
|
|
}
|