Implement an intention converting several calls with same receiver to with/apply/run #KT-12183 Fixed

This commit is contained in:
shiraji
2017-02-04 09:03:39 +09:00
committed by Mikhail Glukhikh
parent c2e5fc5215
commit 0e5603f644
71 changed files with 1352 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
// WITH_RUNTIME
class MyClass {
fun foo1() = Unit
fun foo2() = Unit
fun foo3() = Unit
fun foo4(a: MyClass) {
a.foo1()
a.foo2()<caret>
a.foo3()
}
}