Extract Function: Take duplicates into account when choosing placement of extracted function

#KT-5916 Fixed
This commit is contained in:
Alexey Sedunov
2014-10-20 18:13:19 +04:00
parent c492ffee08
commit b5e1fe613c
13 changed files with 109 additions and 56 deletions
@@ -0,0 +1,8 @@
class A {
val x = i()
val y = i()
private fun i(): Int {
return 1 + 1
}
}