Files
kotlin-fork/idea/testData/quickfix/changeSignature/linearHierarchy.kt.after
T
2015-05-13 16:13:13 +02:00

26 lines
323 B
Plaintext
Vendored

// "Add parameter to function 'f'" "true"
interface O {
fun f(a: Int, i: Int)
}
interface OO : O {
override fun f(a: Int, i: Int) {
}
}
interface OOO : OO {
override fun f(a: Int, i: Int) {}
}
fun usage(o: O) {
o.f(1, 12)
}
fun usage(o: OO) {
o.f(13, 12)
}
fun usage(o: OOO) {
o.f(3, 12)
}