You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't a false positive, Periphery correctly identifies that the property isn't read from anywhere else in your code. No tool can determine that these properties are used only for altering the hash value. You can either implement hash(into:) or use a comment command to retain these properties.
Hi, I think I'm getting these false positives with a Strict thats
Hashable
in Periphery2.18.0
Its true,
categoryName
andtypeName
are never read explicitly, but they are factored into automatically synthesized hash function ( https://developer.apple.com/documentation/swift/hashable#Conforming-to-the-Hashable-Protocol )The text was updated successfully, but these errors were encountered: