digitalmars.D.bugs - no overloading of inner functions
- Sean Kelly (11/11) Jul 28 2004 I think I posted this one before, but just in case I haven't:
I think I posted this one before, but just in case I haven't: D:\code\d>type test6.d int main() { void foo(int x) {} void foo(char x) {} foo( 1 ); return 0; } D:\code\d>dmd test6.d test6.d(4): declaration main.foo is already defined
Jul 28 2004
Yes, I have logged this one. I don't think it's a big deal, though, since the workaround is pretty easy.
Jul 30 2004
Walter wrote:Yes, I have logged this one. I don't think it's a big deal, though, since the workaround is pretty easy.But it's annoying, especially since the bug still hasn't been fixed (DMD 0.131).
Sep 10 2005