[Issue 467] double inheritance from the same interface
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 18 08:36:08 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=467
deewiant at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |deewiant at gmail.com
OtherBugsDependingO| |511
nThis| |
URL| |http://www.digitalmars.com/d
| |/interface.html
Keywords| |spec
------- Comment #3 from deewiant at gmail.com 2006-11-18 10:36 -------
There's even a direct example of this in the spec, which DMD allows:
interface D
{
void foo();
}
class A : D, D // error, duplicate interface
{
}
(Of course, this doesn't compile also since foo() isn't defined in A.)
--
More information about the Digitalmars-d-bugs
mailing list