Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/call/funOnClassObject.kt.after

14 lines
322 B
Plaintext
Vendored

// "Create member function 'foo'" "true"
class A<T>(val n: T) {
companion object {
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)
}