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

11 lines
240 B
Kotlin

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