Extract Function: Implement duplicate search

This commit is contained in:
Alexey Sedunov
2014-09-16 15:26:19 +04:00
parent 03e2b4d516
commit 741e5f61e9
30 changed files with 1110 additions and 201 deletions
@@ -1,6 +1,6 @@
// SIBLING:
fun foo(a: Int): Int {
val b: Int = 1
val b: Int = i()
return if (a + b > 0) i() else if (a - b < 0) 2 else b
}