I’m not suggesting that the compiler should do any...
# announcements
b
I’m not suggesting that the compiler should do anything different if you’re explicitly defining a property as a different type. But my question isn’t about defining 2 properties as
Any
and expecting it to find the equals of the assigned type instead of the defined type
g
Maybe compareTo operator could help in your case
b
It doesn’t appear so, I tried it and following the reference still goes to the
equals
convention defined on
Any