Bug 292 – Small inconsistency on the "rationale" page

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P2
Component
dlang.org
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2006-08-17T03:50:00Z
Last change time
2014-02-15T13:29:07Z
Assigned to
bugzilla
Creator
fox

Comments

Comment #0 by fox — 2006-08-17T03:50:31Z
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.
Comment #1 by matti.niemenmaa+dbugzilla — 2006-08-25T07:29:58Z
Fixed for DMD 0.165.