Files
kotlin-fork/idea/testData/quickfix/removeUnused/unusedDelegatedConstructor.kt
T
Andrei Klunnyi b7eded6e48 KT-46146 no 'protected' for final classes
Intention to change final class constructor visibility to 'protected'
was erroneous. This commit removes it.
2021-05-07 12:47:40 +00:00

11 lines
220 B
Kotlin
Vendored

// "Safe delete constructor" "false"
// ACTION: Convert to primary constructor
// ACTION: Make internal
// ACTION: Make private
class CtorUsedByOtherCtor {
<caret>constructor()
constructor(p: String): this()
}