www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2914] New: to!string(struct) is broken

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2914

           Summary: to!string(struct) is broken
           Product: D
           Version: 2.029
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: jason.james.house gmail.com


to's if condition uses is(T.init.toString) instead of
is(typeof(T.init.toString)). This makes to act as if the structs never include
a toString method


-- 
Apr 29 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2914


andrei metalanguage.com changed:

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




------- Comment #1 from andrei metalanguage.com  2009-04-29 22:01 -------
Fixed in svn, will deploy with 2.030. Thanks!


-- 
Apr 29 2009