Michael Gottesman
ea4d0440f4
Revert "[Concurrency] Prevent use of nonisolated(nonsending) and @concurrent on @_inheritActorContext parameters"
...
This reverts commit e032f33cfb .
2025-07-10 11:15:00 -07:00
Pavel Yaskevich
e42ac61d9f
[Concurrency] Prevent use of nonisolated(nonsending) and @concurrent on @_inheritActorContext parameters
...
`@_inheritActorContext` is a form of isolation which precludes
direct use of inference of `nonisolated(nonsending)` and `@concurrent`
just like other isolation attributes/modifiers would i.e. `isolated`
or `@isolated(any)`.
2025-07-07 17:13:28 -07:00
Anthony Latsis
2cd90bdd69
AST: Quote attributes more consistently in DiagnosticsSema.def
2025-04-22 18:23:36 +01:00
Pavel Yaskevich
f00d8082db
[Parse] Tighten constraints in canParseNonisolatedAsTypeModifier
...
Accept it only if it's spelled `nonisolated(nonsending)` and nothing
else to minimize any possible source compatibility impact.
2025-04-11 15:59:25 -07:00
Pavel Yaskevich
f1b3c7b604
[AST] Remove ExecutionAttribute experimental feature
...
SE-0461 has been accepted and `@concurrent` and `nonisolated(nonsending)`
can be make generally available now.
2025-04-11 15:59:25 -07:00
Pavel Yaskevich
07ff063ae3
[AST/ASTGen/Sema/Serialization] Remove @execution attribute
...
Complete the transition from `@execution` to `@concurrent` and `nonisolated(nonsending)`
2025-04-11 15:59:25 -07:00