Can be replaced with binary operator: do not report if it leads to an error/warning after conversion

#KT-25050 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-01-31 17:03:15 +09:00
committed by Yan Zhulanow
parent 81d01a8f8e
commit 43b106fc72
3 changed files with 37 additions and 12 deletions
@@ -0,0 +1,8 @@
// PROBLEM: none
class Foo
class Foo2
fun main(f: Foo, f2: Foo2) {
if (f.<caret>equals(f2)) {
}
}