Inspection to warn on using == with array types #KT-13384 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
7d35316d95
commit
1bbde54e9d
@@ -0,0 +1,7 @@
|
||||
fun foo() {
|
||||
val a = arrayOf("a")
|
||||
val b = a
|
||||
val c: Any? = null
|
||||
a == b // YES
|
||||
a == c // NO
|
||||
}
|
||||
Reference in New Issue
Block a user