Thoughts about D
Nicholas Wilson
iamthewilsonator at hotmail.com
Thu Nov 30 04:50:52 UTC 2017
On Thursday, 30 November 2017 at 04:21:20 UTC, Steven
Schveighoffer wrote:
> On 11/29/17 10:29 PM, Walter Bright wrote:
>> Another issue (I should check this again) was doing null
>> checks on member function calls, which is not necessary since
>> if they're null it'll seg fault.
>
> Just happened last release.
>
> https://dlang.org/changelog/2.077.0.html#removePreludeAssert
>
> -Steve
That was specifically for constructors and destructors (i.e.
(cast(Foo)null).__ctor() was the only way to trigger that assert)
not member functions (of classes), which I believe is still part
of the compiler.
More information about the Digitalmars-d
mailing list