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

13 lines
177 B
Plaintext
Vendored

// INTENTION_TEXT: Remove unnecessary lateinit
class Foo {
var bar: String
constructor() {
bar = ""
}
constructor(baz: Int) {
bar = ""
}
}