On Tue, Nov 5, 2019 at 5:14 PM Manu <turkey...@gmail.com> wrote: > > On Tue, Nov 5, 2019 at 1:20 PM John Chapman via Digitalmars-d-announce > <digitalmars-d-announce@puremagic.com> wrote: > > > > On Tuesday, 5 November 2019 at 19:05:10 UTC, Manu wrote: > > > Incidentally, in your sample above there, `a` and `b` are not > > > shared... why not just write: `cas(&a, null, b);` ?? If source > > > data is not shared, you shouldn't cast to shared. > > > > Because casts were needed in 2.088 and earlier and I just updated > > to 2.089, unaware of the API change. Should I log `null` not > > working as a bug? > > Yes
But I also think you should update your code to not perform the casts. Can you confirm that the null works when removing the shared casts?