[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:
Doug Gregor
2025-07-09 10:44:39 -07:00
parent 529ec41815
commit d2afd8700e
6 changed files with 3 additions and 27 deletions

View File

@@ -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)