Skip to content

Commit ee4dbf1

Browse files
authored
[SE-0409] Fix some typos (#2179)
1 parent ba1ba28 commit ee4dbf1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proposals/0409-access-level-on-imports.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Proposal: [SE-0409](0409-access-level-on-imports.md)
44
* Author: [Alexis Laferrière](https://github.com/xymus)
55
* Review Manager: [Frederick Kellison-Linn](https://github.com/Jumhyn)
6-
* Status: Status: **Active Review (September 14...26, 2023)**
6+
* Status: **Active Review (September 14...26, 2023)**
77
* Implementation: On main and release/5.9 gated behind the frontend flag `-enable-experimental-feature AccessLevelOnImport`
88
* Upcoming Feature Flag: `InternalImports` (Enables Swift 6 behavior with imports defaulting to internal. Soon on main only.)
99
* Review: ([pitch](https://forums.swift.org/t/pitch-access-level-on-import-statements/66657)) ([review](https://forums.swift.org/t/se-0409-access-level-modifiers-on-import-declarations/67290))
@@ -22,7 +22,7 @@ Swift already offers access levels with their respective modifiers to declaratio
2222
but there is currently no equivalent official feature for dependencies.
2323

2424
The author of a library may have a different intent for each of the library dependencies;
25-
some are expected to be known to the library clients while other are for implementation details internal to the package, module, or source file.
25+
some are expected to be known to the library clients while others are for implementation details internal to the package, module, or source file.
2626
Without a way to enforce the intended access level of dependencies
2727
it is easy to make a mistake and expose a dependency of the library to the library clients by referencing it from a public declaration even if it's intended to remain an implementation detail.
2828

@@ -261,7 +261,7 @@ it can break source compatibility in code relying of those behaviors.
261261
### Hiding dependency for non-resilient modules
262262

263263
Hiding dependencies on non-resilient modules would be possible in theory but requires rethinking a few restrictions in the compilation process.
264-
The main restriction is the need of the compiler to know the memory layout of imported types, which can depend on a transitive dependencies.
264+
The main restriction is the need of the compiler to know the memory layout of imported types, which can depend on transitive dependencies.
265265
Resilient modules can provide this information at run time so the transitive module isn't required at build time.
266266
Non-resilient modules do not provide this information at run time, so the compiler must load the transitive dependencies at build time to access it.
267267
Solutions could involve copying the required information in each modules,

0 commit comments

Comments
 (0)