Introduce Parameter: Remove parameters which become unused after occurrence replacement

This commit is contained in:
Alexey Sedunov
2015-04-06 21:07:42 +03:00
parent 53a6827ad8
commit 3bb86a63cc
16 changed files with 188 additions and 21 deletions
@@ -0,0 +1,7 @@
fun foo(a: Int, s: String, i: Int = a + 1): Int {
return (i) * a
}
fun test() {
foo(1, "2")
}