Introduce Property: Initial support (properties with getter)

This commit is contained in:
Alexey Sedunov
2015-03-04 18:01:06 +03:00
parent 48914e70ff
commit 03fada71d7
36 changed files with 396 additions and 158 deletions
@@ -0,0 +1,11 @@
// EXTRACTION_TARGET: property with getter
val n: Int = 1
fun foo(): Int {
return i
}
private val i: Int
get() {
return n + 1
}