October 25, 2005
In: http://www.digitalmars.com/d/declaration.html

at Type Aliasing

in:

--------------------------------------
alias int myint;

void foo(int x) { . }
void foo(myint m) { . }error, multiply defined function foo
---------------------------------------

what begins with "error" should be documented and in green, no? (is DDoc?)


October 26, 2005
In article <djlrg0$3h9$1@digitaldaemon.com>, F says...
>
>In: http://www.digitalmars.com/d/declaration.html
>
>at Type Aliasing
>
>in:
>
>--------------------------------------
>alias int myint;
>
>void foo(int x) { . }
>void foo(myint m) { . }error, multiply defined function foo
>---------------------------------------
>
>what begins with "error" should be documented and in green, no? (is DDoc?)

Yeah, I think it's supposed to be...
----
alias int myint;

void foo(int x) { . }
void foo(myint m) { . }	// error, multiply defined function foo
----


I think this would even be better...
----
alias int myint;

void foo(int x) { }
void foo(myint m) { }	// error, multiply defined function foo
----

But that's just me. ;)

jcc7