On Friday, 11 April 2014 at 20:36:12 UTC, Jacob Carlborg wrote:
On 2014-04-11 18:05, monarch_dodra wrote:

Why? The D version would just go from "object.Error Access Violation" to
"AssertError null this".

Hmm, I was pretty sure it wouldn't assert.

And in release, you'd still (highly probably) still get the Access
Violation.

No, in release mode it's possible to call non-virtual methods on null references.

Right, the call will succeed, but if the function accesses any class members, it will access violation *there*. Hence the "highly likely".

Reply via email to