KT-8442 related: destructuring declarations aren't taken into account during light classes generation, fixes EA-81204
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
public final class TopLevelDestructuringKt {
|
||||
private static final int z = 3;
|
||||
|
||||
public static final int getZ() { /* compiled code */ }
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// TopLevelDestructuringKt
|
||||
|
||||
data class Pair(val x: Int, val y: Int)
|
||||
|
||||
val (x, y) = Pair(1, 2)
|
||||
|
||||
val z = 3
|
||||
Reference in New Issue
Block a user