Convert to scope function: Also convert call expression

#KT-28698 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-12-25 05:45:55 +03:00
committed by Mikhail Glukhikh
parent f15c8f78fa
commit bd467f39d6
24 changed files with 451 additions and 17 deletions
@@ -0,0 +1,14 @@
// WITH_RUNTIME
class Foo {
fun foo(i: Int) {}
}
fun bar(i: Int, f: Foo) {}
fun test(f: Foo) {
val f2 = Foo()
f.foo(1)<caret>
bar(2, f)
bar(3, f2)
}