You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/App/Views/ReadyForSwift6/ReadyForSwift6Show+View.swift
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ extension ReadyForSwift6Show {
38
38
overridefunc content()->Node<HTML.BodyContext>{
39
39
.group(
40
40
.h2("Ready for Swift 6"),
41
-
.p("The Swift 6 language mode prevents data-races at compile time. When you opt into Swift 6 mode, the compiler will produce errors when your code has a risk of concurrent access, turning hard-to-debug runtime failures into compiler errors."),
41
+
.p("The Swift 6 language mode prevents dataraces at compile time. When you opt into Swift 6 mode, the compiler will produce errors when your code has a risk of concurrent access, turning hard-to-debug runtime failures into compiler errors."),
42
42
.p("To track the progress of the Swift package ecosystem, the Swift Package Index is running regular package compatibility checks across all packages in the index."),
43
43
.p(
44
44
.text("For help migrating your project's code, see the "),
.text("This chart shows the total number of all data-race safety diagnostics across "),
62
+
.text("This chart shows the total number of all datarace safety diagnostics across "),
63
63
.em("all"),
64
64
.text(" packages.")
65
65
),
@@ -74,7 +74,7 @@ extension ReadyForSwift6Show {
74
74
),
75
75
.p(
76
76
.strong(.text("A: ")),
77
-
.text("Swift 6 introduces complete concurrency checking, a compiler feature that checks your code for data-race safety. The number of data race safety errors reflects how many issues the compiler detected relating to these concurrency or data-race checks. The total errors chart plots the total number of these errors summed across all packages.")
77
+
.text("Swift 6 introduces complete concurrency checking, a compiler feature that checks your code for datarace safety. The number of data race safety errors reflects how many issues the compiler detected relating to these concurrency or datarace checks. The total errors chart plots the total number of these errors summed across all packages.")
.text("Are packages that show zero data-race compiler diagnostics guaranteed to be safe from data-race errors?")
101
+
.text("Are packages that show zero datarace compiler diagnostics guaranteed to be safe from datarace errors?")
102
102
),
103
103
.p(
104
104
.strong(.text("A: ")),
105
-
.text("No. We gather data on data-race safety from Swift compiler diagnostics with “complete” concurrency checks enabled. We can’t tell if the diagnostics produce zero errors due to a genuine lack of data-race safety errors or whether errors have been suppressed using techniques like "),
105
+
.text("No. We gather data on datarace safety from Swift compiler diagnostics with “complete” concurrency checks enabled. We can’t tell if the diagnostics produce zero errors due to a genuine lack of datarace safety errors or whether errors have been suppressed using techniques like "),
.text("Data-race safety diagnostics are determined in different stages of the compiler. For example, type checking produces some data-race safety errors, and others are diagnosed during control-flow analysis after code generation. If type checking produces errors, the compiler will not proceed to code generation, so testing with "),
122
+
.text("Datarace safety diagnostics are determined in different stages of the compiler. For example, type checking produces some datarace safety errors, and others are diagnosed during control-flow analysis after code generation. If type checking produces errors, the compiler will not proceed to code generation, so testing with "),
123
123
.code("-swift-version 6"),
124
124
.text(" would show fewer errors than really exist across the package ecosystem.")
0 commit comments