<?xml version="1.0"?>
<form>
<bugnb>
1358
</bugnb>
<subject>
removeAll! fails on removing the second element of a SortedList
</subject>
<description>
removeAll! of SortedList does a good job as long as the second element does not need to be removed

But when removing the 2nd element of a SortedList with removeAll! one gets:

Unhandled Exception: 
Assert failed in sal_slist, at line:149: ~(empty?(m))

NB: removeAll works without problems. Only removeAll! causes the trouble.

Compare to Bug 1357, which I also just submitted (Same problem with remove!)
</description>
<workaround>
yes
</workaround>
<wadescr>
using removeAll instead of removeAll!
</wadescr>
<priority>
2
</priority>
<bugfile>
/aldor.org/website/bugs/bugreport_1358/removebug2.as
</bugfile>
<cmdline>
aldor -Fx -laldord removebug2.as
</cmdline>
<version>
1.0.0
</version>
<email>
christian.aistleitner@gmx.at
</email>
<inform>
yes
</inform>
<design>
no
</design>
<typeinf>
no
</typeinf>
<parsing>
no
</parsing>
<memory>
no
</memory>
<optimlvl>
Q0
</optimlvl>
<libaldor>
yes
</libaldor>
<algebra>
no
</algebra>
</form>
