August 14, 2015
On 8/14/15 2:06 PM, Jack Stouffer wrote:
> On Friday, 14 August 2015 at 18:02:10 UTC, Meta wrote:
>> You're dereferencing a null pointer
>
> Oh, I see now, Thanks.
>
> Is there any way that the D runtime can throw a null pointer exception,
> a la Java or C#?

Are you on Linux?

If so there is an undocumented option for this:

https://github.com/D-Programming-Language/druntime/blob/master/src/etc/linux/memoryerror.d#L33

Otherwise, no. And it won't be added (Walter has made this repeatedly and abundantly clear (and I agree with him) ).

-Steve
1 2
Next ›   Last »