Files
kotlin-fork/idea/testData/intentions/convertToAlso/itParameter.kt
T
Toshiaki Kameyama 6a4c6eacd7 Add "Convert to also" intention
#KT-28699 Fixed
2018-12-18 12:21:56 +09:00

15 lines
255 B
Kotlin
Vendored

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