Please, can the langauge stop inferring scope and return for @trusted/@system?

Dukc ajieskola at gmail.com
Thu May 19 07:39:03 UTC 2022


On Thursday, 19 May 2022 at 07:31:56 UTC, Tejas wrote:
> On Thursday, 19 May 2022 at 07:13:05 UTC, Dukc wrote:
>> First thing first, I'm talking about code with 
>> `-preview=dip1000`. Make sure that is on if you test these.
>>
>> [...]
>
> The code compiled for me with `-preview=dip1000` in 
> run.dlang.io though...
>
>
> And when I added a destructor that `free`d `_content`, and I 
> added a `writeln(*outer);` below the `if` block, the program 
> also segfaulted

Hmm, it seems to run with the default compiler, but fail to 
compile with nightly.


More information about the Digitalmars-d mailing list