Error: '=' is not available for type <seq[X]>; requires a copy because it's not the last read of 'x.fields'; routine: checkX
But if I iterate with 0..(x.fields.len - 1) then it will work.
Error: '=' is not available for type <seq[X]>; requires a copy because it's not the last read of 'x.fields'; routine: checkX
But if I iterate with 0..(x.fields.len - 1) then it will work.