interface B { fun foo(dd: T): T = dd } class A: B fun box(): String { val a = A() return "OK" }