Why does the function parameter work despite being @MainActor isolated, run on the global concurrent executor when passed a non-isolated function directly as an argument instead of as a trailing closure when called from a non-isolated context:
without having investigated too deeply, this looks like a bug to me. i would expect greet to be wrapped in something that would perform the main actor isolation switch before it is invoked.