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