mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SE-0466] Enable SendableProhibitsMainActorInference by default
This implements the SE-0466 amendment under discussion for all code with default main-actor isolation. Finalizes rdar://151029300.
This commit is contained in:
@@ -532,10 +532,6 @@ EXPERIMENTAL_FEATURE(DefaultIsolationPerFile, false)
|
||||
/// Enable @_lifetime attribute
|
||||
SUPPRESSIBLE_EXPERIMENTAL_FEATURE(Lifetimes, true)
|
||||
|
||||
/// Disable @MainActor inference when the primary definition of a type conforms
|
||||
/// to SendableMetatype (or Sendable).
|
||||
EXPERIMENTAL_FEATURE(SendableProhibitsMainActorInference, true)
|
||||
|
||||
/// Allow macro based aliases to be imported into Swift
|
||||
EXPERIMENTAL_FEATURE(ImportMacroAliases, true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user