[Bug] Implement more comparison ops for vectors of struct etc. #220
Comments
FWIW, this is primarily runtime work-- the compiler side is trivial once we have the Previously, to allow us to go much further in the compiler implementation and testing proper, I implemented a preliminary |
@nvjle is this something you are going to look at, or should i? |
I'd prefer if you did-- especially since it really is needed to test the recent (and coming) serialization patches. But if you don't want the context switch, let me know and I'll put something together. |
@brson, never mind above, I'll work on it. |
I have committed a few patches (linked) which cover all the cases we were previously missing for vector and struct comparisons. We should now be able to handle fully general comparisons, with any level of recursion among the vector, struct, and primitive types. Closing. |
In #219, some of the test cases in stdlib-bcs.move are commented out with fixmes. Most of them are because some of the comparison routines for vectors are not implemented, both in the compiler and runtime. This is true for at least
vector<vector<_>>
andvector<struct>
.The text was updated successfully, but these errors were encountered: