Files
kotlin-fork/idea/testData/quickfix/changeSignature/beforeAddConstructorParameter.kt
T

13 lines
227 B
Kotlin

// "Add parameter to constructor 'Base'" "true"
// DISABLE-ERRORS
open class Base(var x: Int) {
val y = Base(1, 2);
fun f() {
val base = Base(1);
}
}
open class Inherited(x: Int) : Base(1, <caret>2.5) {}