Static function won't call another static function

If I try doing this:

static function f() {
	go();
}
 
static function go() {
	yield;
}

I will get an error saying:

UCW0004: WARNING: Coroutine ‘go’ cannot be automatically started from a static function.

Why can I not do this? The function will not even run, and my real code really needs to use a static function in a static function.

I think Unity coroutines need to be attached to a GameObject.

You will have no trouble calling static (non-coroutine) functions from static functions.

You can replace yield with a log statement for a simple test.