On Monday, 3 February 2014 at 12:22:48 UTC, Gopan wrote:
Is it possible to switch off GC during compilation so that I will getcompilation error on every statement that invites GC in?
No, right now only run-time asserts are possible. You may want to wait for https://github.com/D-Programming-Language/dmd/pull/1886 to be merged.
