If you change the `doAssert count(...) == number` to `assert toSeq(...).len == 
number` it all works (in ARC mode or not) except for the first test case with 
an empty sequence which has `.len == 0` (which actually seems right to me, 
though it's a degenerate case kind of like `0!`..personally I would probably 
change that to check for 0 not 1 and have the semantics be to be an empty 
loop/empty iterator unless that breaks something else).

Reply via email to