Introduce Parameter: Remove parameters which become unused after occurrence replacement
This commit is contained in:
@@ -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")
|
||||
}
|
||||
Reference in New Issue
Block a user