Files
kotlin-fork/idea/testData/quickfix/initializeWithConstructorParameter/memberPropertyNoAccessorsInClassPrimaryConstructorOnly.kt
T
2015-11-16 11:30:03 +03:00

11 lines
277 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
}
class B : A("")
fun test() {
val a = A("")
}