Remove Unused Receiver: update function/property usages
#KT-8903 Fixed
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user