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,10 @@
// TARGET:
class A(val a: Int, s: String) {
val x = a + 2
fun foo() = (<selection>a + 1</selection>) * 2
}
fun test() {
A(1, "2")
}