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 5337c8b commit eece2b0Copy full SHA for eece2b0
test/stdlib/SwiftObjectNSObject.swift
@@ -150,7 +150,7 @@ func TestNonEquatableHash(_ e: AnyObject)
150
// If we're checking legacy behavior or unsupported platform, then
151
// the warning above won't be emitted. This function emits a fake
152
// message that will satisfy the checks above in such cases.
153
-func fakeEquatableWarning(e: AnyObject) {
+func fakeEquatableWarning(_ e: AnyObject) {
154
let msg = "Obj-C `-hash` ... type `SwiftObjectNSObject.\(type(of: e))` ... Equatable but not Hashable\n"
155
fputs(msg, stderr)
156
}
0 commit comments