File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1239,7 +1239,7 @@ extension Set {
1239
1239
}
1240
1240
1241
1241
extension Set : CustomStringConvertible, CustomDebugStringConvertible {
1242
- private func makeDescription(isDebug: Bool) -> String {
1242
+ internal func makeDescription(isDebug: Bool) -> String {
1243
1243
var result = isDebug ? "Set([" : "["
1244
1244
var first = true
1245
1245
for member in self {
@@ -2829,6 +2829,7 @@ final internal class _HashableTypedNative${Self}Storage<${TypeParametersDecl}> :
2829
2829
/// The reason for this is to support storing AnyObject for bridging
2830
2830
/// with _SwiftDeferredNS${Self}. What functionality actually relies on
2831
2831
/// Hashable can be found in an extension.
2832
+ @_versioned
2832
2833
internal struct _Native${Self}Buffer<${TypeParameters}> {
2833
2834
2834
2835
internal typealias RawStorage = _RawNative${Self}Storage
@@ -2917,12 +2918,14 @@ internal struct _Native${Self}Buffer<${TypeParameters}> {
2917
2918
}
2918
2919
2919
2920
// This API is unsafe and needs a `_fixLifetime` in the caller.
2921
+ @_versioned
2920
2922
internal var keys: UnsafeMutablePointer<Key> {
2921
2923
return _storage.keys.assumingMemoryBound(to: Key.self)
2922
2924
}
2923
2925
2924
2926
%if Self == 'Dictionary':
2925
2927
// This API is unsafe and needs a `_fixLifetime` in the caller.
2928
+ @_versioned
2926
2929
internal var values: UnsafeMutablePointer<Value> {
2927
2930
return _storage.values.assumingMemoryBound(to: Value.self)
2928
2931
}
You can’t perform that action at this time.
0 commit comments