File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -184,9 +184,9 @@ can be one of:
184
184
synthesizes cases for depending on internal compiler data (e.x.: features for
185
185
` UpcomingFeatureCompilerSetting ` )
186
186
187
- We purposely keep all custom types defined for ` CompilerSetting ` as subtypes of
188
- ` CompilerSetting ` in order to avoid polluting the global namespace. Thus we
189
- would necessarily define in the stdlib all of the custom types as:
187
+ We purposely keep all custom types defined for ` CompilerSetting ` as nested types
188
+ within ` CompilerSetting ` in order to avoid polluting the global namespace. Thus
189
+ we would necessarily define in the stdlib all of the custom types as:
190
190
191
191
``` swift
192
192
extension CompilerSetting {
@@ -238,7 +238,7 @@ where one must have a keyword preventing any ambiguity. Adding the enum
238
238
added to the compiler for ` Result ` will also guarantee that any user defined
239
239
` CompilerSetting ` will take precedence over the ` CompilerSetting ` type. In such
240
240
a situation, the user can spell ` CompilerSetting ` as ` Swift.CompilerSetting ` as
241
- needed. All of the subtypes of ` CompilerSetting ` cannot cause any source
241
+ needed. All of the nested types within ` CompilerSetting ` cannot cause any source
242
242
compatibility issues since they are namespaced within ` CompilerSetting ` .
243
243
244
244
## ABI compatibility
You can’t perform that action at this time.
0 commit comments