package k interface A { fun foo(t: T) } class B : A { override fun foo(t: String) {} }