You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -142,7 +142,7 @@ This attribute is most commonly used by overlays.
142
142
143
143
```swift
144
144
// module M
145
-
funcf() {}
145
+
publicfuncf() {}
146
146
147
147
// module N
148
148
@_exportedimportM
@@ -278,11 +278,6 @@ of the closure. This is different from the typical behavior, where the closure
278
278
may be runnable anywhere unless its type specifically declares that it will
279
279
run on a specific actor.
280
280
281
-
This new attribute can be used on parameters of `@Sendable async` type
282
-
to indicate that the closures arguments passed to such parameters
283
-
should inherit the actor context where they are formed, which is not
284
-
the normal behavior for `@Sendable` closures.
285
-
286
281
## `@_inheritsConvenienceInitializers`
287
282
288
283
An attribute that signals that a class declaration inherits its convenience
@@ -297,7 +292,6 @@ Indicates that a protocol is a marker protocol. Marker protocols represent some
297
292
meaningful property at compile-time but have no runtime representation.
298
293
299
294
For more details, see [SE-0302](https://github.com/apple/swift-evolution/blob/main/proposals/0302-concurrent-value-and-concurrent-closures.md#marker-protocols), which introduces marker protocols.
300
-
301
295
At the moment, the language only has one marker protocol: `Sendable`.
0 commit comments