Extract Function: Implement duplicate search
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user