www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 486] New: Writefln on null object should not trigger access error.

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: wbaxter 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.


-- 
Nov 07 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=486


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla digitalmars.com  2006-11-25 04:03 -------
Fixed DMD 0.175


-- 
Nov 25 2006