Pull Members Up: Use light field if property doesnt't have light methods

#KT-10552 Fixed
This commit is contained in:
Alexey Sedunov
2016-01-28 17:17:54 +03:00
parent e386a6b0e9
commit f9632c1ad6
4 changed files with 27 additions and 1 deletions
@@ -0,0 +1,8 @@
open class Temp1
open class <caret>Temp2 : Temp1() {
// INFO: {"checked": "true"}
private val used: Int = 1
// INFO: {"checked": "false"}
private val using: Int = used + 1
}
class Temp3 : Temp2()