ac8532ffce
#KT-6604 Fixed
14 lines
344 B
Kotlin
Vendored
14 lines
344 B
Kotlin
Vendored
// "class org.jetbrains.kotlin.idea.quickfix.InitializePropertyQuickFixFactory$InitializeWithConstructorParameter" "false"
|
|
// ERROR: Property must be initialized or be abstract
|
|
open class A(s: String) {
|
|
<caret>val n: Int
|
|
|
|
constructor(): this("")
|
|
constructor(a: Int): this("" + a)
|
|
}
|
|
|
|
class B : A("")
|
|
|
|
fun test() {
|
|
val a = A("")
|
|
} |