On 04/18/2014 10:50 AM, bearophile wrote:
Honestly, I think expecting that code to be allowed to use @nogc is a
huge mistake and disagree with editing the DIP to include this solely
because you decided it should.
That Wiki page is editable, so if it's wrong it takes one minute to fix
the text I have written. What I have decided to include is an explicit
explanation regarding what a correct D compiler should do in that case.
In which case? In case some version of LDC2 is able to avoid the heap
allocation using full optimizations? :o)