> Of course makes no sense with empty seq, but works fine with default gc but 
> gives this error with ARC:

A consequence of early deallocation with --gc:arc. With the "old" GC, the mem 
layout remains untouched until the GC scans the stack and completes 
deallocation. So basically, gc:arc did the right thing. By the way, I called 
the count template with a toSeq. The template didn't accept the plain iterator. 

Reply via email to