[Issue 3170] Forward reference of nested class fails if outer class is abstract or derived
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 14 22:40:36 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3170
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> 2009-07-14 22:40:35 PDT ---
This case:
----------
class A {
class B : C.D { }
}
class C : E {
class D { }
}
class E { }
----------
is wrong anyway because C.D is nested inside C, and cannot be instantiated
inside of A. (Because of the lack of an appropriate 'this' reference to use.)
--
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