304112cd8a
Instead of relying on UNRESOLVED_REFERENCE directive for the whole file, just render the unresolved reference right in the .txt testdata This will allow to introduce multi-caret resolve testdata more naturally Required for KT-65152 and KT-62695
9 lines
176 B
Kotlin
Vendored
9 lines
176 B
Kotlin
Vendored
// IGNORE_FE10
|
|
|
|
fun <T : Any, Z> createTuple(a: T, b: Z&Any): Pair<T, Z&Any> {
|
|
return Pair(a, b)
|
|
}
|
|
|
|
fun main()
|
|
var (<caret>val1, val2) = createTuple<String, Int?>("a", 1)
|
|
} |