@nogc exceptions?

Manu turkeyman at gmail.com
Sun May 19 05:59:11 UTC 2019


On Sat, May 18, 2019 at 10:20 PM Nicholas Wilson via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
>
> On Sunday, 19 May 2019 at 05:05:32 UTC, Manu wrote:
> > Okay...How do I do it? I just get:
> >   throw new Exception("ex");
> >   > error : cannot use `new` in `@nogc` function
>
> pass -preview=dip1008 to the compiler

Oh right. Is this a breaking change or something?


More information about the Digitalmars-d mailing list