Release D 2.089.0
turkeyman at gmail.com
Wed Nov 6 16:19:37 UTC 2019
On Tue., 5 Nov. 2019, 11:35 pm John Chapman via Digitalmars-d-announce, <
digitalmars-d-announce at puremagic.com> wrote:
> On Wednesday, 6 November 2019 at 01:16:00 UTC, Manu wrote:
> > On Tue, Nov 5, 2019 at 5:14 PM Manu <turkeyman at gmail.com> wrote:
> >> On Tue, Nov 5, 2019 at 1:20 PM John Chapman via
> >> Digitalmars-d-announce <digitalmars-d-announce at 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?
> Yes and no - it compiles when removing the casts, but AVs at
> Bug filed: https://issues.dlang.org/show_bug.cgi?id=20359
Thanks! I'll look into these as soon as I have a moment. Sorry for the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Digitalmars-d-announce