Skip to content

Commit 27bb36f

Browse files
Clarify version vs mode (#45)
* Clarify version vs mode #43 * Update Guide.docc/MigrationGuide.md Co-authored-by: Holly Borla <[email protected]> --------- Co-authored-by: Holly Borla <[email protected]>
1 parent 24b2206 commit 27bb36f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Guide.docc/MigrationGuide.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Adopting the Swift 6 language mode is entirely under your control
2323
on a per-target basis.
2424
Targets that build with previous modes, as well as code in other
2525
languages exposed to Swift, can all interoperate with
26-
modules that have been migrated to Swift 6.
26+
modules that have been migrated to the Swift 6 language mode.
2727

2828
It is possible you have been incrementally adopting concurrency features
2929
as they were introduced.
30-
Or, you may have been waiting for Swift 6 to begin using them.
30+
Or, you may have been waiting for the Swift 6 release to begin using them.
3131
Regardless of where your project is in this process, this guide provides
3232
concepts and practical help to ease the migration.
3333

@@ -39,8 +39,13 @@ Here you will find articles and code examples that will:
3939
- Provide techniques for incremental adoption.
4040
- Present strategies to resolve common problems.
4141

42-
> Important: The Swift 6 language mode is opt-in.
42+
> Important: The Swift 6 language mode is _opt-in_.
4343
Existing projects will not switch to this mode without configuration changes.
44+
>
45+
> There is an important distinction between the _compiler version_
46+
and _language mode_.
47+
The Swift 6 compiler supports four distinct language modes: "6", "5", "4.2",
48+
and "4".
4449

4550
## Topics
4651

0 commit comments

Comments
 (0)