Files
kotlin-fork/idea/testData/quickfix/insertDelegationCall/nonApplicableWithOneConstructor.kt
T
Valentin Kipyatkov 7625672914 Better test data
2016-09-23 10:07:15 +03:00

10 lines
323 B
Kotlin
Vendored

// "class org.jetbrains.kotlin.idea.quickfix.InsertDelegationCallQuickfix" "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>
}