[Issue 14430] [REG2.060] Null parameter is detected as non-null.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Apr 10 12:22:30 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14430

--- Comment #8 from Daniel Kozak <kozzi11 at gmail.com> ---
(In reply to w0rp from comment #7)
> (In reply to Daniel Kozak from comment #5)
> > (In reply to w0rp from comment #4)
> > > I just ran the example in 2.067 myself, and I can see it happening. It
> > > doesn't seem to happen if some of the arguments are taken away, and it might
> > > be specific to slices. It looks like the pointer for the slice is being set
> > > to some high value somehow, and the length is being set to 0.
> > 
> > how do you compile the example (which command rdmd, use dub, dmd, ldc ...)?
> 
> I used rdmd myself.

This could be a problem. Rdmd could use ldc by default. On archlinux IT use ldc
for dub and rdmd.

--


More information about the Digitalmars-d-bugs mailing list