[Issue 14363] [SDC] Error with inheriting nested classes in nested functions

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Apr 12 05:52:51 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14363

--- Comment #7 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to deadalnix from comment #6)
> (In reply to Shammah Chancellor from comment #5)
> > I'm not sure about that part of SDC.  I will investigate and see if
> > deadalnix has some input here.
> 
> SDC does it by sticking one context in the base and one context in the child.

It's definitely different. dmd inserts at most only one context over the all
derived classes. The second context pointer in the child class need to be error
in SDC.

--


More information about the Digitalmars-d-bugs mailing list