We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd8bcc commit b864a74Copy full SHA for b864a74
stdlib/public/Darwin/Foundation/NSSet.swift
@@ -17,7 +17,7 @@ extension Set {
17
///
18
/// The provided `NSSet` will be copied to ensure that the copy can
19
/// not be mutated by other code.
20
- fileprivate init(_cocoaSet: __shared AnyObject) {
+ fileprivate init(_cocoaSet: __shared NSSet) {
21
assert(_isBridgedVerbatimToObjectiveC(Element.self),
22
"Set can be backed by NSSet _variantStorage only when the member type can be bridged verbatim to Objective-C")
23
// FIXME: We would like to call CFSetCreateCopy() to avoid doing an
0 commit comments