Files
kotlin-fork/analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/unusedDestructuring.kt
T
2023-01-25 08:05:58 +00:00

11 lines
219 B
Kotlin
Vendored

class Test {
private fun test(x: Int, y: Int) {
val (_, _) = invert(x, y)
}
private fun invert(x: Int, y: Int): Point {
return Point(-x, -y)
}
}
data class Point(val x: Int, val y: Int)