swift
dcb3e5c4 - [concurrency] Emit nonisolated(nonsending) async throw initializers correctly.

Commit
50 days ago
[concurrency] Emit nonisolated(nonsending) async throw initializers correctly. Specifically, we were not inserting the implicit isolated parameter and were not setting up the actor prologue. To keep this specific to nonisolated(nonsending) code, I only setup the actor prologue if we know that we have something that is nonisolated(nonsending). I also ported some async initializer tests to run with/without nonisolated(nonsending) just to increase code coverage. rdar://156919493 (cherry picked from commit 3871d22257db219d9df3ba1b281c3b7c75bd1123)
Author
Committer
Parents
Loading