[Issue 4595] Accessing non-static member of a null reference compiles

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 7 19:51:34 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4595



--- Comment #4 from nfxjfg at gmail.com 2010-08-07 19:51:33 PDT ---
(In reply to comment #3)
> dmd 2.047 doesn't show a run-time sefault, it prints at compile-time:
> test.d(4): Error: null dereference in function _Dmain

I'd consider that a codegen bug. What if my program's semantics depend on the
segfault?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list