https://d.puremagic.com/issues/show_bug.cgi?id=12454
--- Comment #4 from Andrej Mitrovic <[email protected]> 2014-03-24 22:03:34 CET --- (In reply to comment #3) > (In reply to comment #2) > > D does not support return type overloading. I'm not sure whether this is > > mentioned in the spec though. Others can chime in. > > In that case, it should not be possible to define two functions with just ret > type difference. Currently the compiler doesn't implement these checks, but arguably it should. For example the following will issue a linker error: ----- class Foo { void test() { } void test() { } } void main() { } ----- Implementing checks is an enhancement that is already filed somewhere in bugzilla. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
