The problem is not that the seq is empty, but it is in an uninitialized state 
still.
    
    
    var s1: seq[int]
    var s2 = newSeq[int]()
    
    
    Run

s2 should give no problem. Core part of a seq is a pointer to the actual data. 
I think for s1 that pointer is just nil still. Unfortunately for s1 and s2 len 
is zero, so we can not decide what case we have. What is the test you do? I can 
not really answer your question unfortunately.

Reply via email to