"Unused equals expression" inspection: highlight whole expression with yellow background

^KT-41615 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-09-04 09:45:15 +02:00
committed by Vladimir Dolzhenko
parent b81ec2c8f0
commit 343010a833
9 changed files with 103 additions and 23 deletions
@@ -0,0 +1 @@
org.jetbrains.kotlin.idea.inspections.UnusedEqualsInspection
+4
View File
@@ -0,0 +1,4 @@
// FIX: none
fun foo(a: Int, b: Int) {
<caret>a.equals(b)
}
@@ -0,0 +1,4 @@
// FIX: none
fun foo(a: Int, b: Int) {
a.equals(b)<caret>
}
+4
View File
@@ -0,0 +1,4 @@
// FIX: none
fun foo(a: Int, b: Int) {
<caret>a == b
}
@@ -0,0 +1,4 @@
// FIX: none
fun foo(a: Int, b: Int) {
a == b<caret>
}