Files
kotlin-fork/idea/resources/intentionDescriptions/ConvertParameterToReceiverIntention/after.kt.template
T

7 lines
99 B
Plaintext

fun <spot>String</spot>.foo(n: Int): Int {
return length() - n
}
fun test() {
"1".foo(2)
}