mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I fixed a bunch of small issues around here that resulted in a bunch of radars being fixed. Specifically: 1. I made it so that we treat function_refs that are from an actor isolated function as actor isolated instead of sendable. 2. I made it so that autoclosures which return global actor isolated functions are treated as producing a global actor isolated function. 3. I made it so that we properly handle SILGen code patterns produced by Sendable GlobalActor isolated things. rdar://125452372 rdar://121954871 rdar://121955895 rdar://122692698
3 lines
47 B
Swift
3 lines
47 B
Swift
|
|
@MainActor public func mainActorFunction() {}
|