[Issue 292] New: Small inconsistency on the "rationale" page
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Aug 17 01:50:34 PDT 2006
    
    
  
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 at digitalmars.com
        ReportedBy: fox at 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.
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list