Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/funOnClassObject.kt.after
T
2019-11-13 08:37:25 +09:00

14 lines
231 B
Plaintext
Vendored

// "Create member function 'A.Companion.foo'" "true"
class A<T>(val n: T) {
companion object {
fun foo(i: Int): Int {
TODO("Not yet implemented")
}
}
}
fun test() {
val a: Int = A.foo(2)
}