package test internal val some: test.SomeObject internal fun (): test.SomeObject [ERROR : BadAnnotation]() internal object SomeObject { /*primary*/ private constructor SomeObject() public class object : test.SomeObject { /*primary*/ private constructor () } }