Files
kotlin-fork/idea/testData/quickfix/insertDelegationCall/nonApplicableWithOneConstructor.kt
T

10 lines
274 B
Kotlin
Vendored

// "Insert 'this()' call" "false"
// ACTION: Insert 'super()' call
// ERROR: Explicit 'this' or 'super' call is required. There is no constructor in superclass that can be called without arguments
open class B(val x: Int)
class A : B {
constructor(x: String)<caret>
}