I tried to override the equals method of java.lang.Object by doing this:
extension(cellTower: CellTower)
// CellTower class unfortunately has no equals() implementation,
// but a toString(), so we use this for equality
def equals(other: Object): Boolean = cellTower.toString == other.toString
It didn't get used for equality (==).
Is this impossible with Scala 3 extension methods or am I doing something wrong?