inline class X(val x: Any?) interface IFoo { fun foo(): T } fun foo(x: T) {}