Files
swift-mirror/lib/SILGen/SILGenTopLevel.cpp
Michael Gottesman 06d91d4a3f [silgen] Make async_Main compatible with calling nonisolated(nonsending) functions.
The problem is that async_Main was setting an executor as its main executor
instead of an actor. This patch fixes the issue by just grabbing the main actor
instead.

rdar://153082633
(cherry picked from commit 862ef621c7)
2025-06-20 15:54:36 -07:00

18 KiB