Convert to scope function: enable on single function call

#KT-29099 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-02-16 12:02:57 +09:00
committed by Mikhail Glukhikh
parent e1fdf0aa43
commit 5f7dee4194
18 changed files with 177 additions and 5 deletions
@@ -1,5 +1,4 @@
// WITH_RUNTIME
// IS_APPLICABLE: false
class MyClass {
fun foo1(a: MyClass): MyClass = this
@@ -9,5 +8,7 @@ class MyClass {
fun foo4(a: MyClass) {
a.foo1(this).foo2().foo3()
a.foo2()<caret>
a.foo3()
a.foo1(this).foo2().foo3()
}
}