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
@@ -3333,6 +3333,15 @@
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.KotlinCovariantEqualsInspection"
displayName="Covariant 'equals()'"
groupPath="Kotlin"
groupName="Probable bugs"
enabledByDefault="true"
level="WARNING"
language="kotlin"
/>
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>
<fileType.fileViewProviderFactory filetype="KJSM" implementationClass="com.intellij.psi.ClassFileViewProviderFactory"/>