www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5245] New: Interface function TraceInfo.toString is not implemented

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

           Summary: Interface function TraceInfo.toString is not
                    implemented
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: sean invisibleduck.org
        ReportedBy: ibuclaw ubuntu.com



It's seen in object.di, but not in object_.d, and DefaultTraceInfo doesn't
implement toString either.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5245


Iain Buclaw <ibuclaw ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw ubuntu.com



An example, this is a slimmed down version of the class in core.runtime that
doesn't compile on it's own (no public functions were removed).

class DefaultTraceInfo : Throwable.TraceInfo
{
    this()
    {
    }

    ~this()
    {
    }

    int opApply( scope int delegate(ref char[]) dg )
    {
        return 0;
    }
}


Regards

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5245




Looks like it has been implemented in druntime now:

http://www.dsource.org/projects/druntime/changeset/467
http://www.dsource.org/projects/druntime/changeset/468

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 15 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5245


Brad Roberts <braddr puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |braddr puremagic.com
         Resolution|                            |FIXED



---
Yup.. Sean added 'em.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 15 2011