Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/call/afterFunOnUserObject.kt

11 lines
261 B
Kotlin

// "Create function 'foo'" "true"
object A {
fun foo(i: Int): Int {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
fun test() {
val a: Int = A.foo(2)
}