Skip to content

Commit f87be15

Browse files
authored
Merge pull request swiftlang#1810 from kelvin13/patch-7
2 parents 5f5b7b4 + bf06fb1 commit f87be15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0339-module-aliasing-for-disambiguation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ The `App` manifest needs to explicitly define unique names for the conflicting m
180180
}
181181
```
182182

183-
SwiftPM will perform validations when it parses `moduleAliases`; for each entry, it will check whether the given alias is a unique name, whether there is a conflict among aliases, whether the specified module is built from source (pre-compiled modules cannot be rebuilt to respect the rename), and whether the module is a pure Swife module (see **Requirements/Limitations** section for more details).
183+
SwiftPM will perform validations when it parses `moduleAliases`; for each entry, it will check whether the given alias is a unique name, whether there is a conflict among aliases, whether the specified module is built from source (pre-compiled modules cannot be rebuilt to respect the rename), and whether the module is a pure Swift module (see **Requirements/Limitations** section for more details).
184184

185185
It will also check if any aliases are defined in upstream packages and override them if necessary. For example, if the `swift-game` package were modified per below and defined its own alias `SwiftUtils` for module `Utils` from a dependency package, the alias defined in `App` will override it, thus the `Utils` module from `swift-utils` will be built as `GameUtils`.
186186

0 commit comments

Comments
 (0)