Swift: extract CurrentContextIsolationExpr

This commit is contained in:
Paolo Tranquilli
2025-04-14 09:48:05 +02:00
parent 42ec6b018d
commit 712142cde9
16 changed files with 207 additions and 15 deletions

View File

@@ -1440,3 +1440,13 @@ class ExtractFunctionIsolationExpr(Expr):
```
"""
function_expr: Expr | child
@qltest.skip
class CurrentContextIsolationExpr(Expr):
"""
An expression that extracts the actor isolation of the current context, of type `(any Actor)?`.
This is synthesized by the type checker and does not have any way to be expressed explicitly in
the source.
"""
actor: Expr