Files
kotlin-fork/idea/testData/intentions/removeUnnecessaryLateinit/secondaryConstructorDelegateSuper.kt
T
shiraji 5fb79259f7 Intention / inspection for unnecessary lateinit #KT-13011 Fixed
(cherry picked from commit 45d82f1)
2016-08-03 09:31:03 +03:00

14 lines
210 B
Kotlin
Vendored

// IS_APPLICABLE: false
open class Bar(val a: Int = 0)
class Foo : Bar {
<caret>lateinit var bar: String
constructor() : super() {
bar = ""
}
constructor(a: Int) : super(a) {
}
}