Please, can the langauge stop inferring scope and return for @trusted/@system?
bauss
jj_1337 at live.dk
Thu May 19 07:46:15 UTC 2022
On Thursday, 19 May 2022 at 07:39:03 UTC, Dukc wrote:
> 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.
Probably shouldn't rely on nightly anyway, considering it's not
fully tested, it could contain buggy/partial pull requests.
More information about the Digitalmars-d
mailing list