Cast to subclass in the dmd compiler

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 25 16:28:51 PDT 2017


On Tuesday, 25 July 2017 at 21:06:25 UTC, unDEFER wrote:
> I have found the answer in the code.
> Right code is:
>
> Import imp = m.isImport();
> if (imp !is null)
>
> Thank you.

grep for kluge in code, you'll find all the places it does its 
own RTTI.


More information about the Digitalmars-d-learn mailing list