Files
kotlin-fork/idea/testData/intentions/convertReceiverToParameter/usedInAnonymousObject.kt.after
T
Toshiaki Kameyama c344b85d4e Convert parameter <-> receiver intention: do not add label to 'this' if not needed
#KT-17615 Fixed
#KT-30028 Fixed
#KT-32809 Fixed
#KT-28085 Fixed
#KT-37508 Fixed

Convert receiver to parameter:

#KT-37508 Fixed
2020-04-01 13:26:55 +03:00

11 lines
120 B
Plaintext
Vendored

interface A
fun foo(a: A) {}
fun test() {
object : A {
fun bar() {
foo(this)
}
}
}