mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update validation tests for id-as-Any.
This commit is contained in:
@@ -2127,7 +2127,7 @@ class NonContiguousNSString : NSString {
|
||||
}
|
||||
|
||||
@objc(copyWithZone:)
|
||||
override func copy(with zone: NSZone?) -> AnyObject {
|
||||
override func copy(with zone: NSZone?) -> Any {
|
||||
// Ensure that copying this string produces a class that CoreFoundation
|
||||
// does not know about.
|
||||
return self
|
||||
|
||||
Reference in New Issue
Block a user