Hello. Is this expected behaviour? ``` class Test ...
# announcements
l
Hello. Is this expected behaviour?
Copy code
class Test {
    fun test() {
        val a = A()
        val b = a.equals(1) // Compiles, but suggests converting to '=='
        val c = a == 1 // Does not compile ??
    }
}

class A {
    override fun equals(other: Any?): Boolean {
        return true
    }
}