<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue., 5 Nov. 2019, 11:35 pm John Chapman via Digitalmars-d-announce, <<a href="mailto:digitalmars-d-announce@puremagic.com">digitalmars-d-announce@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wednesday, 6 November 2019 at 01:16:00 UTC, Manu wrote:<br>
> On Tue, Nov 5, 2019 at 5:14 PM Manu <<a href="mailto:turkeyman@gmail.com" target="_blank" rel="noreferrer">turkeyman@gmail.com</a>> wrote:<br>
>><br>
>> On Tue, Nov 5, 2019 at 1:20 PM John Chapman via <br>
>> Digitalmars-d-announce <<a href="mailto:digitalmars-d-announce@puremagic.com" target="_blank" rel="noreferrer">digitalmars-d-announce@puremagic.com</a>> <br>
>> wrote:<br>
>> ><br>
>> > On Tuesday, 5 November 2019 at 19:05:10 UTC, Manu wrote:<br>
>> > > Incidentally, in your sample above there, `a` and `b` are <br>
>> > > not shared... why not just write: `cas(&a, null, b);` ?? <br>
>> > > If source data is not shared, you shouldn't cast to shared.<br>
>> ><br>
>> > Because casts were needed in 2.088 and earlier and I just <br>
>> > updated to 2.089, unaware of the API change. Should I log <br>
>> > `null` not working as a bug?<br>
>><br>
>> Yes<br>
><br>
> But I also think you should update your code to not perform the <br>
> casts. Can you confirm that the null works when removing the <br>
> shared casts?<br>
<br>
Yes and no - it compiles when removing the casts, but AVs at <br>
runtime.<br>
<br>
Bug filed: <a href="https://issues.dlang.org/show_bug.cgi?id=20359" rel="noreferrer noreferrer" target="_blank">https://issues.dlang.org/show_bug.cgi?id=20359</a></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Thanks! I'll look into these as soon as I have a moment. Sorry for the inconvenience.</div></div>