Commit Graph

5 Commits

Author SHA1 Message Date
Holly Borla
26621b804c [Concurrency] Enable optional isolated parameters. 2024-02-16 16:28:45 -08:00
Holly Borla
5cb418a2a7 Merge pull request #71511 from hborla/explicit-isolation-expansion
[Concurrency] Make `#isolation` macro expansions explicit.
2024-02-09 15:44:33 -08:00
Holly Borla
1875817bdd [Concurrency] Make #isolation macro expansions explicit.
Macro expansions are never considered implicit. They have
valid source locations in their macro expansion buffer, they
do not cause implicit 'self' capture diagnostics, etc. This
fixes an issue where existing code that iterates over an async
sequence in an escaping closure would diagnose a use of implicit
'self' via the '#isolation' argument to 'next()'.
2024-02-09 12:05:16 -08:00
Finagolfin
8e7a5c6e53 [Test] Make sure macros are enabled for the tests that use the new #isolation macro 2024-01-28 02:20:07 +05:30
Doug Gregor
f79a108e85 Implement support for #isolation for distributed actors
When using `#isolation` within a context that is isolated to a
distributed actor, resolve to an `asLocalActor` access to retrieve the
local actor corresponding to the distributed actor.
2024-01-23 13:47:03 -08:00