Add 'Covariant equals' inspection

#KT-29798 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-03-08 18:25:14 +09:00
committed by Dmitry Gridin
parent 3998e842f1
commit 61f3e776a7
15 changed files with 209 additions and 0 deletions
@@ -0,0 +1,7 @@
<html>
<body>
This inspection reports <b>equals()</b> methods taking an argument type other than <b>Any?</b>.
Only reports if the containing class does not have another <b>equals()</b> method which does take <b>Any?</b> as its argument type.
Normally, this is a mistake.
</body>
</html>