Create From Usage: Quick-fix for properties
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// "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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user