On Wednesday 04 July 2007 06:00:22 Ron Blaschke wrote: > Adds some range check assertions to F<compilers/imcc/sets.c>. Please > double check if I got them right! > > Assuming the assertions are good there seems to be a problem with its > use, at least for Parrot r19565, Win32, VC++ 8.0. I don't think it's > platform dependent, though.
Instead of the asserts, it seems sensible to me to use unsigned int for all set elements. That way the compiler can enforce ranges. I also fixed up all accesses as of r28364. -- c