[Issue 3759] Implementing two interfaces with same final function is accepted
http://d.puremagic.com/issues/show_bug.cgi?id=3759 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Platform|x86 |All Version|2.040 |D2 Resolution||DUPLICATE OS/Version|Windows |All --- Comment #3 from yebblies 2012-01-31 13:34:12 EST --- *** This issue has been marked as a duplicate of issue 4647 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3759] Implementing two interfaces with same final function is accepted
http://d.puremagic.com/issues/show_bug.cgi?id=3759 Brad Roberts changed: What|Removed |Added Platform|x86_64 |x86 --- Comment #2 from Brad Roberts 2011-02-06 15:39:07 PST --- Mass migration of bugs marked as x86-64 to just x86. The platform run on isn't what's relevant, it's if the app is a 32 or 64 bit app. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3759] Implementing two interfaces with same final function is accepted
http://d.puremagic.com/issues/show_bug.cgi?id=3759 Mike Parker changed: What|Removed |Added CC||aldac...@gmail.com --- Comment #1 from Mike Parker 2010-01-31 17:14:48 PST --- According to TDPL, the solution *should* be the following: --- void main() { X x = new X(); x.foo(); // prints "One" x.Two.foo(); // should print "Two" Y y = new Y(); y.foo(); // prints "Two" y.One.foo(); // should print "One" } --- But this gives the following errors: ifinal.d(28): Error: no property 'Two' for type 'ifinal.X' Error: no property 'foo' for type 'int' ifinal.d(28): Error: function expected before (), not __error of type int ifinal.d(31): Error: no property 'One' for type 'ifinal.Y' Error: no property 'foo' for type 'int' ifinal.d(31): Error: function expected before (), not __error of type int -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---