[FE] Fix exception from the 'UnusedChecker' on a destructuring
^KT-55973 Fixed
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user