fun foo() { public interface T: A public object O1: A() fun bar() { public object O2: T } }