Skip to content

Commit 4942458

Browse files
authored
Merge pull request swiftlang#1333 from ianpartridge/cferror-warning
2 parents f1ed2a5 + 1436f61 commit 4942458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Foundation/NSError.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ extension CFError : Error {
395395
return CFErrorGetCode(self)
396396
}
397397

398-
public var _userInfo: Any? {
399-
return CFErrorCopyUserInfo(self) as Any
398+
public var _userInfo: AnyObject? {
399+
return CFErrorCopyUserInfo(self) as AnyObject
400400
}
401401
}
402402

0 commit comments

Comments
 (0)