"Unused equals expression" inspection: highlight whole expression with yellow background
^KT-41615 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
b81ec2c8f0
commit
343010a833
@@ -0,0 +1 @@
|
||||
org.jetbrains.kotlin.idea.inspections.UnusedEqualsInspection
|
||||
@@ -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>
|
||||
}
|
||||
@@ -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>
|
||||
}
|
||||
Reference in New Issue
Block a user