[Issue 2999] Return-type overloading should be error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 24 14:34:13 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=2999
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-03-24 22:34:11 CET ---
(In reply to comment #1)
> The compiler doesn't accept this code anymore in 2.057, marking as fixed.
I must have tested the second snippet but not the first, as the first still
compiles:
-----
short foo() { return 1; }
int foo() { return 2; }
-----
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list