```public companion object Singleton: SomeInterfac...
# announcements
d
Copy code
public companion object Singleton: SomeInterface by internalInstance {
    val internalInstance: SomeInterface = SomeInterfaceImplementor()
}
Is there any way to make delegating to a member variable work? This snippet produces the error
Variable 'internalInstance' must be initialized
although it seems like it should be initialized? Is there something that happens before vals are initialized during object creation that would cause issues?