Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/property/afterThisInNestedClass1.kt
T
2015-02-04 23:38:16 +03:00

13 lines
253 B
Kotlin

// "Create property 'foo'" "true"
// ERROR: Property must be initialized or be abstract
class A<T>(val n: T) {
inner class B<U>(val m: U) {
private val foo: A<Int>
fun test(): A<Int> {
return this.foo
}
}
}