Files
kotlin-fork/idea/testData/intentions/convertToRun/methodChainWithThisParameter.kt
T

13 lines
254 B
Kotlin
Vendored

// WITH_RUNTIME
// IS_APPLICABLE: false
class MyClass {
fun foo1(a: MyClass): MyClass = this
fun foo2(): MyClass = this
fun foo3(): MyClass = this
fun foo4(a: MyClass) {
a.foo1(this).foo2().foo3()
a.foo2()<caret>
}
}