a1e86e8bfa
(cherry picked from commit a51d3fc)
14 lines
303 B
Plaintext
Vendored
14 lines
303 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 implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
fun test() {
|
|
val a: Int = A.foo(2)
|
|
} |