mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update stdlib for memberwise access control.
As before, there may be more things marked @public than we actually want public. Judicious use of the frontend option -disable-access-control may help reduce the public surface area of the stdlib. Swift SVN r19353
This commit is contained in:
@@ -39,7 +39,7 @@ extension String {
|
||||
}
|
||||
|
||||
@public struct IndexType : BidirectionalIndex {
|
||||
init(_ _position: Int, _ _core: _StringCore) {
|
||||
@public init(_ _position: Int, _ _core: _StringCore) {
|
||||
self._position = _position
|
||||
self._core = _core
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user