http://d.puremagic.com/issues/show_bug.cgi?id=5312
Summary: Function redefinition is allowed (duplicate functions) Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bdom.pub+deeb...@gmail.com --- Comment #0 from Bruno Medeiros <bdom.pub+deeb...@gmail.com> 2010-12-03 06:32:16 PST --- The following compiles fine in terms of semantic analysis: bool foo() { return false; } bool foo() { return false; } class X { bool foo() { return false; } bool foo() { return false; } } Rather we get two "Previous Definition Different" linker errors. But surely this should be a compiler error, right? (at the semantic level) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------