[Issue 486] New: Writefln on null object should not trigger access error.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 7 23:48:15 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=486
Summary: Writefln on null object should not trigger access error.
Product: D
Version: 0.173
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: wbaxter at gmail.com
Class o = null;
writefln(o);
This should just print out 'null' (or maybe "(Class)null" if that info is
available) rather than triggering an access violation.
--
More information about the Digitalmars-d-bugs
mailing list