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

13 lines
251 B
Kotlin

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