- var sr: SequenceRecord
+ var sr = SequenceRecord()
Run
Shoot. That didn't make any difference.
I am not over-stating the problem here. If we cannot fix this, probably the
entire Bioinformatics community will be forced to give up on Nim. (A colleague
is already fed up with Nim multi-threading, though I've been willing simply to
avoid the threadpool library.) I will still re-adopt Nim when newruntime is
available, but I will have zero credibility on Nim with my colleagues. We need
a solution for weird memory bugs like this, a simple way to discover them, even
if it turns out to be programmer error. I am not a terrible coder.