Reports equals() that takes an argument type other than Any? if the class does not have another equals() that takes Any? as its argument type.

예:


  class Foo {
      fun equals(other: Foo?): Boolean {
          return true
      }
  }

문제를 해결하려면 Any? 타입의 인수를 취하는 equals() 메서드를 생성합니다.