On 2/6/14, 5:23 PM, Walter Bright wrote:
I'm tempted to say that the throw expression can call 'new' even if the function is marked as @nogc.
That's extreme. A better possibility is to allocate exceptions from a different heap and proclaim that the heap is cleaned once all catch blocks are left. (I'm sure we can find something better, but now is not the time to worry about it.)
Andrei
