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