On Thursday, 31 October 2019 at 03:56:56 UTC, lili wrote:
Hi: why writeln need GC?
It almost never does, it just keeps the option open in case * it needs to throw an exception (like if stdout is closed) * you pass it a custom type with toString that uses GC @nogc is just super strict and doesn't even allow for rare cases.