sorting failed error

bearophile bearophileHUGS at lycos.com
Mon Jul 30 07:10:53 PDT 2012


maarten van damme:

> I have no idea what is wrong with my code and the error is not 
> very informative.

As first step I suggest to add a space after commas, before 
brackets, around operators, etc. The improved readability helps 
spot the bugs.

Adding Contracts and other asserts sometimes helps. Adding some 
unit tests sometimes helps.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list