Files
kotlin-fork/idea/testData/inspectionsLocal/incompleteDestructuringInspection/basic.kt.after
T
kvirolainen 5b1d019bb0 Added Incomplete destructuring inspection
#KT-21223 Fixed
2020-06-30 11:47:27 +02:00

7 lines
126 B
Plaintext
Vendored

data class Person(val name: String, val age: Int)
fun test() {
val person = Person("", 0)
val (name, age) = person
}