Remove Unused Receiver: update function/property usages

#KT-8903 Fixed
This commit is contained in:
Alexey Sedunov
2016-08-17 13:03:53 +03:00
parent 0fc28fe0b2
commit 92b0c852dd
6 changed files with 32 additions and 2 deletions
@@ -2,3 +2,7 @@
fun <caret>Any.foo() {
}
fun test() {
1.foo()
}
@@ -2,3 +2,7 @@
fun foo() {
}
fun test() {
foo()
}
@@ -1,3 +1,7 @@
// "Remove redundant receiver parameter" "true"
val <caret>Any.v: Int
get() = 123
fun test() {
"".v
}
@@ -1,3 +1,7 @@
// "Remove redundant receiver parameter" "true"
val v: Int
get() = 123
fun test() {
v
}