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

6 lines
132 B
Kotlin
Vendored

data class Person(val name: String, val age: Int, val location: String)
fun test() {
val (_, age)<caret> = Person("", 0, "")
}