Skip to content

Commit 3aabaa4

Browse files
committed
@_versioned attribute requires internal
1 parent d444ff2 commit 3aabaa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/Boxing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
///
1515
/// Note: This assumes that the result of calling copy() is mutable. The documentation says that classes which do not have a mutable/immutable distinction should just adopt NSCopying instead of NSMutableCopying.
1616
internal final class _MutableHandle<MutableType : NSObject> where MutableType : NSCopying {
17-
@_versioned fileprivate var _pointer : MutableType
17+
@_versioned internal var _pointer : MutableType
1818

1919
init(reference : MutableType) {
2020
_pointer = reference.copy() as! MutableType

0 commit comments

Comments
 (0)