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: lib/Migrator/README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Here are the passes:
52
52
53
53
- API Diff Pass
54
54
55
-
This pass injests an *API Diff Data File*, a JSON file describing API changes
55
+
This pass ingests an *API Diff Data File*, a JSON file describing API changes
56
56
from the previous SDK, and looks for API references, performing textual edits
57
57
to update code for things like referenced type and argument names or optionality
58
58
changes. This is where the majority of changes come from in the Migrator.
@@ -81,7 +81,7 @@ Here are the passes:
81
81
- Tuple Splat Migrator Pass
82
82
83
83
This implements a few convenience transformations to ease the transition
84
-
for [SE-0110: Distinguish between single-tuple and multiple-argument function types](https://github.com/apple/swift-evolution/blob/master/proposals/0110-distingish-single-tuple-arg.md).
84
+
for [SE-0110: Distinguish between single-tuple and multiple-argument function types](https://github.com/apple/swift-evolution/blob/master/proposals/0110-distinguish-single-tuple-arg.md).
85
85
86
86
In particular, this pass adds new variable bindings in closure expressions
87
87
to destructure what are now are a single argument, a tuple. Prior to SE-0110,
@@ -133,7 +133,7 @@ Other controls for the frontend:
133
133
134
134
For the pre- and post-fix-it passes, there are two basic rules for which fix-its the Migrator will take:
135
135
136
-
1. Fix-its attached to *error*diagnosics are taken by default and are opt-out.
136
+
1. Fix-its attached to *error*diagnostics are taken by default and are opt-out.
137
137
2. Fix-its attached to *warning* or *note* diagnostics are not taken by default and so are opt-in.
138
138
139
139
For the opt-out and opt-in cases, these are filtered in the `FixitFilter`, essentially just a small collection of Swift's compiler diagnostic IDs.
0 commit comments