www.digitalmars.com         C & C++   DMDScript  

D - Bug: Using Nonexistent Subtype

This code will crash the DLI compiler:

    struct MyType {}
    int main()
        MyType.SubType *ptr;
        return 0;

It crashes in TypeIdentifier::resolve (mtype.cpp:2059 in the DLI
source).  The pe variable is a pointer to a pointer, and the 2nd
redirection turns up as NULL.

The Villagers are Online! http://villagersonline.com

.[ (the fox.(quick,brown)) jumped.over(the dog.lazy) ]
.[ (a version.of(English).(precise.more)) is(possible) ]
?[ you want.to(help(develop(it))) ]
Sep 24 2002