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.