http://d.puremagic.com/issues/show_bug.cgi?id=8389
Summary: Classes, nested in the same base class cannot be derived from. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: g...@boloneum.com --- Comment #0 from Gor Gyolchanyan <g...@boloneum.com> 2012-07-13 23:26:04 PDT --- class Fruit { class Seed {} // Not static, because this.outer is necessary } class Apple: Fruit { class RedAppleSeed: Fruit.Seed {} class GreenAppleSeed: Fruit.Seed {} } DMD 2.059: Error: class main.Apple.RedAppleSeed is nested within Apple, but super class Seed is nested within Fruit Error: class main.Apple.GreenAppleSeed is nested within Apple, but super class Seed is nested within Fruit -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------