ace259314b
This commit solves problem with resolved qualifier of local class #KT-36758 Fixed
12 lines
311 B
Kotlin
Vendored
12 lines
311 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_VARIABLE, -UNUSED_VARIABLE
|
|
|
|
fun test() {
|
|
data class Pair<F, S>(val first: F, val second: S)
|
|
val (x, y) =
|
|
Pair(1,
|
|
if (1 == 1)
|
|
Pair<String, String>::first
|
|
else
|
|
Pair<String, String>::second)
|
|
}
|