Thread overview | |||||
---|---|---|---|---|---|
|
July 28, 2004 no overloading of inner functions | ||||
---|---|---|---|---|
| ||||
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 |
July 30, 2004 Re: no overloading of inner functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | Yes, I have logged this one. I don't think it's a big deal, though, since the workaround is pretty easy. |
September 10, 2005 Re: no overloading of inner functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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).
|
Copyright © 1999-2021 by the D Language Foundation