Replies: 2 comments 1 reply
-
It would seem the normal xtc contact covers this. I.e. equality is based on how you reference the objects. What is the equality rule for comparing two different types? I assume it is a compile time error. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, it's a compile time error (the only allowed type difference is that one may be Nullable). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For discussion: Should annotations that do not define their own equals() function interfere with the equality contract? For example:
Beta Was this translation helpful? Give feedback.
All reactions