You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is apropos of a FIXME in test/run-pass/binops.rs that says "uncomment this code when we can compare resources". When resources get replaced with classes, we'll need to be able to compare classes.
The text was updated successfully, but these errors were encountered:
I have a patch ready (awaiting a snapshot) that implements == and != for classes. For classes with dtors, equality means pointer equality, but for classes without dtors, it means structural equality. I'm not sure whether the comparison operators should be defined on classes.
This is apropos of a FIXME in
test/run-pass/binops.rs
that says "uncomment this code when we can compare resources". When resources get replaced with classes, we'll need to be able to compare classes.The text was updated successfully, but these errors were encountered: