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


--- Comment #0 from Iain Buclaw <ibuclaw ubuntu.com> 2010-11-20 07:21:39 PST ---
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


--- Comment #1 from Iain Buclaw <ibuclaw ubuntu.com> 2010-11-20 07:30:23 PST ---
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



--- Comment #2 from Iain Buclaw <ibuclaw ubuntu.com> 2011-01-15 06:32:04 PST ---
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


--- Comment #3 from Brad Roberts <braddr puremagic.com> 2011-01-15 11:19:28 PST
---
Yup.. Sean added 'em.

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