Support "recursive equals" for direct equals call (related to KT-13702)

This commit is contained in:
Mikhail Glukhikh
2017-11-27 20:01:19 +03:00
parent e301506460
commit 917be5d271
7 changed files with 98 additions and 16 deletions
@@ -0,0 +1,9 @@
// PROBLEM: none
class Test {
override fun equals(other: Any?): Boolean {
val another = Test()
if (another.equals<caret>(other)) return true
return false
}
}