Files
kotlin-fork/idea/testData/quickfix/insertDelegationCall/beforeNonApplicableWithOneConstructor.kt
T
2015-03-27 16:09:41 +03:00

10 lines
274 B
Kotlin

// "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>
}