Move: Convert implicit receiver to this when moving class member to companion object

#KT-11483 Fixed
This commit is contained in:
Alexey Sedunov
2016-04-25 12:30:35 +03:00
parent 6faedc1adc
commit aaa873f227
6 changed files with 54 additions and 14 deletions
@@ -0,0 +1,9 @@
fun println(a: Any) {}
class InsertThis {
val v1 = 1
fun <caret>f() {
println(v1)
}
fun use() { f() }
}