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 a323592 commit 206ef51Copy full SHA for 206ef51
test/stdlib/Foundation_NewGenericAPIs.swift
@@ -41,7 +41,7 @@ func test_NSCoder_decodeTopLevelObjectOfClasses_forKey_error(
41
42
43
func test_NSKeyedUnarchiver_unarchiveObjectWithData(_ data: NSData) {
44
- var r = NSKeyedUnarchiver.unarchiveObject(with: data as Data)
+ var r = NSKeyedUnarchiver.unarchiveObject(with: data as Data) // expected-warning * {{'unarchiveObject(with:)' was deprecated}}
45
expectType(Optional<Any>.self, &r)
46
}
47
0 commit comments