Emba needs to get a grip on unit testing.
Emba needs to get a grip on unit testing.
TComparer> is broken when testing empty arrays.
Just filed: https://quality.embarcadero.com/browse/RSP-11310
https://quality.embarcadero.com/browse/RSP-11321 as well as
https://quality.embarcadero.com/browse/RSP-11301
https://quality.embarcadero.com/browse/RSP-11310
TComparer
Just filed: https://quality.embarcadero.com/browse/RSP-11310
https://quality.embarcadero.com/browse/RSP-11321 as well as
https://quality.embarcadero.com/browse/RSP-11301
https://quality.embarcadero.com/browse/RSP-11310
8-byte records compare different between x64 and x32: https://quality.embarcadero.com/browse/RSP-11321
ReplyDeleteAlso the variant comparisons also fail in very subtle ways. Correction my variant comparison failed, emba's works.
That's 3 bugs in just the Default.Compare code...
It's folly using the default comparer with a record, IMHO. But yeah, the different compilers should be consistent.
ReplyDeleteNote that the 8-byte record comparer is also used for sets and static arrays and some other things.
ReplyDelete