digitalmars.D.bugs - Glitch in http://www.digitalmars.com/d/declaration.html
- F (9/9) Oct 25 2005 In: http://www.digitalmars.com/d/declaration.html
- J C Calvarese (15/24) Oct 26 2005 Yeah, I think it's supposed to be...
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?)
Oct 25 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
Oct 26 2005