> Even this example, without any ref, does not work: ... This example is supposed to work and does when you disable Nim's broken default allocator.
That is a regression with the 2.0 line. You really need `-d:useMalloc` for the time being, sorry. I've "fixed" this bug months ago but it causes other test regressions.