@cdome It wasn't a nil in this case.
seq can be nil, you need to check for that sometimes. KeepitIf will segfault if
you will pass nil.
task tests, "run tests":
--hints: off
--linedir: on
--stacktrace: on
--linetrace: on
--debuginfo
--path: "."
--run
var dir_list = listDirs("tests")
dir_list.keepItIf(it != "tests/nimcache")
# segfaults
task tests,
Udiknedormin: can you post a code example? And also create an issue on github
When I used keepItIf in a nimble scirpt, it segfaulted. After copy-pasting the
templates body and trying to play with it a little bit it turned out setLen was
the one to blame. If I replace moving the elements to adding them to another
seq and then assign it to the original one, everything