Files
kotlin-fork/idea/testData/refactoring/pullUp/k2k/defaultValuesInOverride.kt.after
T

17 lines
266 B
Plaintext
Vendored

abstract class A {
// INFO: {"checked": "true", "toAbstract": "true"}
abstract fun foo(n: Int = 1)
}
class B : A() {
// INFO: {"checked": "true", "toAbstract": "true"}
override fun foo(n: Int) {
}
}
fun test() {
B().foo()
B().foo(2)
}