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
@@ -134,7 +142,7 @@ This attribute is most commonly used by overlays.
134
142
135
143
```swift
136
144
// module M
137
-
funcf() {}
145
+
publicfuncf() {}
138
146
139
147
// module N
140
148
@_exportedimportM
@@ -270,11 +278,6 @@ of the closure. This is different from the typical behavior, where the closure
270
278
may be runnable anywhere unless its type specifically declares that it will
271
279
run on a specific actor.
272
280
273
-
This new attribute can be used on parameters of `@Sendable async` type
274
-
to indicate that the closures arguments passed to such parameters
275
-
should inherit the actor context where they are formed, which is not
276
-
the normal behavior for `@Sendable` closures.
277
-
278
281
## `@_inheritsConvenienceInitializers`
279
282
280
283
An attribute that signals that a class declaration inherits its convenience
@@ -289,7 +292,6 @@ Indicates that a protocol is a marker protocol. Marker protocols represent some
289
292
meaningful property at compile-time but have no runtime representation.
290
293
291
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.
292
-
293
295
At the moment, the language only has one marker protocol: `Sendable`.
0 commit comments