292 – Small inconsistency on the "rationale" page

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 292 - Small inconsistency on the "rationale" page
Summary: Small inconsistency on the "rationale" page
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D1 (retired)
Hardware: All All
: P2 trivial
Assignee: Walter Bright
URL: http://www.digitalmars.com/d/rational...
Keywords:
Depends on:
Blocks:
Reported: 2006年08月17日 03:50 UTC by Piotr Fusik
Modified: 2014年02月15日 13:29 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Piotr Fusik 2006年08月17日 03:50:31 UTC
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 Matti Niemenmaa 2006年08月25日 07:29:58 UTC
Fixed for DMD 0.165.


AltStyle によって変換されたページ (->オリジナル) /