Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/property/afterMemberValNoReceiver.kt
T
2014-10-03 20:18:41 +04:00

13 lines
213 B
Kotlin

// "Create property 'foo' from usage" "true"
// ERROR: Property must be initialized or be abstract
class A {
class B {
val foo: Int
fun test(): Int {
return foo
}
}
}