Iain Buclaw:
But how do you expect this to be implemented? Implicitly putting GC.disable/GC.enable at the prologue / epilogue of a function?
The point of annotations like @nogc or @noheap is not to disable the GC, but to statically disallow its usage transitively inside a function.
Bye, bearophile
