Cast to subclass in the dmd compiler

unDEFER via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 25 14:06:25 PDT 2017


I have found the answer in the code.
Right code is:

Import imp = m.isImport();
if (imp !is null)

Thank you.


More information about the Digitalmars-d-learn mailing list