Skip to content

Commit 74fd2d0

Browse files
committed
Call out strict concurrency as Swift 6 only
1 parent 9f6a1bc commit 74fd2d0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

TSPL.docc/GuidedTour/Compatibility.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ the default version of Swift that's included in Xcode XXX.
77
You can use Xcode XXX to build targets
88
that are written in Swift 6, Swift 5, Swift 4.2, or Swift 4.
99

10-
When you use Xcode XXX to build code that uses the Swift 5 language mode,
11-
most of the features from Swift 6 are still available,
12-
either by default of when you enable an use upcoming feature.
10+
When you use the Swift 6 compiler
11+
to build code that uses the Swift 5 language mode,
12+
you can use the new features from Swift 6 ---
13+
they're enabled either by default or by an upcoming feature flag.
14+
However, to enable strict concurrency checking,
15+
you need to upgrade to the Swift 6 language mode.
1316

1417
In addition,
1518
when you use Xcode 15.3 to build Swift 4 and Swift 4.2 code,

0 commit comments

Comments
 (0)