Skip to content

Feature flags 5.10

Upcoming

BareSlashRegexLiterals

DeprecateApplicationMain

DisableOutwardActorInference

ForwardTrailingClosures

ImportObjcForwardDeclarations

IsolatedDefaultValues

Experimental

MoveOnlyPartialConsumption

AccessLevelOnImport

AdditiveArithmeticDerivedConformances

DifferentiableProgramming

FlowSensitiveConcurrencyCaptures

ForwardModeDifferentiation

GenerateBindingsForThrowingFunctionsInCXX

ImportSymbolicCXXDecls

LayoutPrespecialization

MoveOnlyEnumDeinits

OldOwnershipOperatorSpellings

OneWayClosureParameters

PlaygroundExtendedCallbacks

SendableCompletionHandlers

SymbolLinkageMarkers

ModuleInterfaceExportAs

TypeWitnessSystemInference

Stable

"playground transform"

🔍 Mentions in proposals

AsyncAwait

async/await

🔍 Mentions in proposals

AttachedMacros

Attached macros

🔍 Mentions in proposals

BuiltinAssumeAlignment

Builtin.assumeAlignment

🔍 Mentions in proposals

BuiltinBuildComplexEqualityExecutor

Executor-building for 'complexEquality executor' builtins

🔍 Mentions in proposals

BuiltinBuildExecutor

Executor-building builtins

🔍 Mentions in proposals

BuiltinBuildMainExecutor

MainActor executor building builtin

🔍 Mentions in proposals

BuiltinContinuation

Continuation builtins

🔍 Mentions in proposals

BuiltinCopy

Builtin.copy()

🔍 Mentions in proposals

BuiltinCreateAsyncTaskInGroup

MainActor executor building builtin

🔍 Mentions in proposals

BuiltinCreateTaskGroupWithFlags

Builtin.createTaskGroupWithFlags

🔍 Mentions in proposals

BuiltinExecutor

Builtin.Executor type

🔍 Mentions in proposals

BuiltinHopToActor

Builtin.HopToActor

🔍 Mentions in proposals

BuiltinIntLiteralAccessors

Builtin.IntLiteral accessors

🔍 Mentions in proposals

BuiltinJob

Builtin.Job type

🔍 Mentions in proposals

BuiltinStackAlloc

Builtin.stackAlloc

🔍 Mentions in proposals

BuiltinTaskGroupWithArgument

TaskGroup builtins

🔍 Mentions in proposals

BuiltinTaskRunInline

Builtin.taskRunInline

🔍 Mentions in proposals

BuiltinUnprotectedAddressOf

Builtin.unprotectedAddressOf

🔍 Mentions in proposals

BuiltinUnprotectedStackAlloc

Builtin.unprotectedStackAlloc

🔍 Mentions in proposals

ConcurrentFunctions

@concurrent functions

🔍 Mentions in proposals

EffectfulProp

Effectful properties

🔍 Mentions in proposals

ExtensionMacroAttr

@attached(extension)

🔍 Mentions in proposals

ExtensionMacros

Extension macros

🔍 Mentions in proposals

FreestandingMacros

freestanding declaration macros

🔍 Mentions in proposals

GlobalActors

Global actors

🔍 Mentions in proposals

ImplicitSelfCapture

@_implicitSelfCapture attribute

🔍 Mentions in proposals

InheritActorContext

@_inheritActorContext attribute

🔍 Mentions in proposals

LexicalLifetimes

@_eagerMove/@_noEagerMove/@_lexicalLifetimes annotations

🔍 Mentions in proposals

MarkerProtocol

@_marker protocol

🔍 Mentions in proposals

MoveOnly

noncopyable types

🔍 Mentions in proposals

MoveOnlyResilientTypes

non-@frozen noncopyable types with library evolution

🔍 Mentions in proposals

NewCxxMethodSafetyHeuristics

Only import C++ methods that return pointers (projections) on owned types as unsafe

🔍 Mentions in proposals

NoAsyncAvailability

@available(*, noasync)

🔍 Mentions in proposals

ParameterPacks

Value and type parameter packs

🔍 Mentions in proposals

PrimaryAssociatedTypes2

Primary associated types

🔍 Mentions in proposals

RethrowsProtocol

@rethrows protocol

🔍 Mentions in proposals

Sendable

Sendable and @Sendable

🔍 Mentions in proposals

SpecializeAttributeWithAvailability

@_specialize attribute with availability

🔍 Mentions in proposals

UnavailableFromAsync

@_unavailableFromAsync

🔍 Mentions in proposals

UnsafeInheritExecutor

@_unsafeInheritExecutor

🔍 Mentions in proposals

"Expression macros"

🔍 Mentions in proposals

For feedback, please open a GitHub issue.