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

10 lines
245 B
Kotlin

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