interface A fun foo(): A { return object: A { } }