www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 292] New: Small inconsistency on the "rationale" page

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

           Summary: Small inconsistency on the "rationale" page
           Product: D
           Version: 0.165
          Platform: All
               URL: http://www.digitalmars.com/d/rationale.html
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: fox scene.pl


This code snippet at the top of the "rationale" page is misleading:

class A
{
    int operator/(int i);       // overloads (a+i)
    static operator/(int i, A a)        // overloads (i+a)
}

I would expect "operator+" in the code or (a/i) in the comment for consistency.


-- 
Aug 17 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=292


deewiant gmail.com changed:

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





Fixed for DMD 0.165.


-- 
Aug 25 2006