Create From Usage: Quick-fix for properties

This commit is contained in:
Alexey Sedunov
2014-09-30 21:10:11 +04:00
parent 8386bcd4e0
commit 58126b28ca
59 changed files with 514 additions and 36 deletions
@@ -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
}
}
}