Używanie metody niejawnej do nadpisania klasy

Moim zamiarem jest zmiana zachowania== metoda wString zadzwonićequalsIgnoreCase.

Ten kod

implicit class LowerCase(s: String) {
      override def ==(that: LowerCase) = that.equalsIgnoreCase(this)
}

powoduje ten błąd

error: type mismatch;
 found   : MyClass.LowerCase
 required: String
      override def ==(that: String) = that.equalsIgnoreCase(this)

questionAnswers(1)

yourAnswerToTheQuestion