Create From Usage: Quick-fix for properties
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A {
|
||||
object B {
|
||||
val foo: Int
|
||||
|
||||
fun test(): Int {
|
||||
return foo
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user