Skip to content

Feature flags 6.0

Upcoming

BareSlashRegexLiterals

DeprecateApplicationMain

DisableOutwardActorInference

DynamicActorIsolation

ForwardTrailingClosures

GlobalActorIsolatedTypesUsability

ImplicitOpenExistentials

ImportObjcForwardDeclarations

InferSendableFromCaptures

InternalImportsByDefault

IsolatedDefaultValues

NonfrozenEnumExhaustivity

RegionBasedIsolation

Experimental

AccessLevelOnImport

AdditiveArithmeticDerivedConformances

AllowNonResilientAccessInPackage

ClientBypassResilientAccessInPackage

ConsumeSelfInDeinit

DifferentiableProgramming

ExtractConstantsFromMembers

FlowSensitiveConcurrencyCaptures

ForwardModeDifferentiation

GenerateBindingsForThrowingFunctionsInCXX

ImplicitLastExprResults

ImportSymbolicCXXDecls

LayoutPrespecialization

MoveOnlyEnumDeinits

MoveOnlyPartialReinitialization

NoncopyableGenerics2

ObjCImplementation

OldOwnershipOperatorSpellings

OneWayClosureParameters

PlaygroundExtendedCallbacks

ReinitializeConsumeInMultiBlockDefer

SE427NoInferenceOnExtension

SendableCompletionHandlers

StaticExclusiveOnly

StructLetDestructuring

SuppressedAssociatedTypes

SymbolLinkageMarkers

Stable

"playground transform"

🔍 Mentions in proposals

AssociatedTypeAvailability

Availability on associated types

🔍 Mentions in proposals

AssociatedTypeImplements

@_implements on associated types

🔍 Mentions in proposals

AsyncAwait

async/await

🔍 Mentions in proposals

AsyncSequenceFailure

Failure associated type on AsyncSequence and AsyncIteratorProtocol

🔍 Mentions in proposals

AttachedMacros

Attached macros

🔍 Mentions in proposals

BitwiseCopyable

BitwiseCopyable protocol

🔍 Mentions in proposals

BitwiseCopyable2

BitwiseCopyable feature

🔍 Mentions in proposals

BodyMacros

Function body macros

🔍 Mentions in proposals

BorrowingSwitch

Noncopyable type pattern matching

🔍 Mentions in proposals

BuiltinAddressOfRawLayout

Builtin.addressOfRawLayout

🔍 Mentions in proposals

BuiltinAllocVector

Builtin.allocVector

🔍 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

BuiltinBuildTaskExecutorRef

TaskExecutor-building builtins

🔍 Mentions in proposals

BuiltinContinuation

Continuation builtins

🔍 Mentions in proposals

BuiltinCopy

Builtin.copy()

🔍 Mentions in proposals

BuiltinCreateAsyncDiscardingTaskInGroup

Task create in discarding task group builtin, accounting for the Void return type

🔍 Mentions in proposals

BuiltinCreateAsyncDiscardingTaskInGroupWithExecutor

Task create in discarding task group with extra executor preference

🔍 Mentions in proposals

BuiltinCreateAsyncTaskInGroup

Task create in task group builtin with extra flags

🔍 Mentions in proposals

BuiltinCreateAsyncTaskInGroupWithExecutor

Task create in task group builtin with extra flags

🔍 Mentions in proposals

BuiltinCreateAsyncTaskOwnedTaskExecutor

Task create with owned TaskExecutor

🔍 Mentions in proposals

BuiltinCreateAsyncTaskWithExecutor

Task create builtin with extra executor preference

🔍 Mentions in proposals

BuiltinCreateTask

Builtin.createTask and Builtin.createDiscardingTask

🔍 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

BuiltinStoreRaw

Builtin.storeRaw

🔍 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

ConformanceSuppression

Suppressible inferred conformances

🔍 Mentions in proposals

EffectfulProp

Effectful properties

🔍 Mentions in proposals

ExpressionMacroDefaultArguments

Expression macro as caller-side default argument

🔍 Mentions in proposals

ExtensionMacroAttr

@attached(extension)

🔍 Mentions in proposals

ExtensionMacros

Extension macros

🔍 Mentions in proposals

FreestandingExpressionMacros

Expression 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

IsolatedAny

@isolated(any) function types

🔍 Mentions in proposals

IsolatedAny2

@isolated(any) function types

🔍 Mentions in proposals

LexicalLifetimes

@_eagerMove/@_noEagerMove/@_lexicalLifetimes annotations

🔍 Mentions in proposals

MarkerProtocol

@_marker protocol

🔍 Mentions in proposals

MoveOnly

noncopyable types

🔍 Mentions in proposals

MoveOnlyPartialConsumption

Partial consumption of noncopyable values

🔍 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

NoncopyableGenerics

Noncopyable generics

🔍 Mentions in proposals

OptionalIsolatedParameters

Optional isolated parameters

🔍 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

RetroactiveAttribute

@retroactive

🔍 Mentions in proposals

Sendable

Sendable and @Sendable

🔍 Mentions in proposals

SendingArgsAndResults

Sending arg and results

🔍 Mentions in proposals

SpecializeAttributeWithAvailability

@_specialize attribute with availability

🔍 Mentions in proposals

TypedThrows

Typed throws

🔍 Mentions in proposals

UnavailableFromAsync

@_unavailableFromAsync

🔍 Mentions in proposals

UnsafeInheritExecutor

@_unsafeInheritExecutor

🔍 Mentions in proposals

For feedback, please open a GitHub issue.