[Issue 2789] Compiler allows for method with the same signature

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 31 09:04:25 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=2789



--- Comment #2 from Witold Baryluk <baryluk at smp.if.uj.edu.pl> 2010-01-31 09:04:23 PST ---
(In reply to comment #1)
> This was a bug in the D1 line ages ago - it seems for some reason the fix
> wasn't applied to the D2 line.  BTW no classes are needed to show the bug - it
> happens with global functions just as well.

Hmm. You are right, global functions also have this problem. The problem is
that if you don't use this functions, and they have different return types,
even linker will not give you any error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list