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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 8 12:05:28 PDT 2010


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



--- Comment #10 from bearophile_hugs at eml.cc 2010-08-08 12:05:25 PDT ---
With -O -unittest DMD is already able to catch the first of the two shown cases
(it doesn't catch the case with __traits(compiles, a.x = 5).

-- 
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