Files
kotlin-fork/idea/testData/unifier/equivalence/declarations/localCallables/localFunctions.kt.match
T

13 lines
274 B
Plaintext

fun foo<T: A>(t: T): Int {
fun a(p: Int): Int = p + 1
fun b(q: Int): Int = q - 1
return t.n + a(1) - b(2)
}
fun foo<U: A>(u: U): Int {
fun x(a: Int): Int = a + 1
fun y(a: Int): Int = a - 1
return u.n + x(1) - y(2)
}