// "Create member function 'A.foo'" "true" class A(val n: T) { fun foo(i: Int, s: String): A { TODO("Not yet implemented") } } fun A.test(): A { return this.foo(2, "2") }