[Issue 4595] Accessing non-static member of a null reference compiles
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 7 21:02:19 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4595
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
Severity|normal |enhancement
--- Comment #6 from bearophile_hugs at eml.cc 2010-08-07 21:02:16 PDT ---
> What if my program's semantics depend on the segfault?
That means relying on undefined or OS/machine-dependant behaviour. You are not
programming in D any more.
I reopen this, but as enhancement request, because while I don't think that
Walter will implement this very soon, it's a legit feature request for a D
compiler to catch at compile-time one more case of uninitialized object
reference.
--
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