Files
Mikhail Glukhikh f90160a2c2 Support "recursive equals" for direct equals call (related to KT-13702)
GitOrigin-RevId: 984401367b599594ac84ab0321eee31af4317eca
2017-11-30 16:44:50 +03:00

9 lines
190 B
Kotlin

// PROBLEM: none
class Test {
override fun equals(other: Any?): Boolean {
val another = Test()
if (another.equals<caret>(other)) return true
return false
}
}