www.digitalmars.com         C & C++   DMDScript  

D - bug? importing symbols

[ dunno if that's the most appropiate subject ]

Another behavior I don't find consistent:

class A {}
void foo() {}
A x;
import a;

While the function call works, the class declaration doesn't. Worst, if I
use a.A instead of just A, dmd crashes with one of those Windows messages
"memory can't be read". Also happens if A is struct or enum.

Carlos Santander


Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 2003-09-01
Sep 13 2003