interface IBase { fun foo(x: Int) val bar: Int fun qux(t: T, x: X) } class Test(impl: IBase) : IBase by impl