Strange type redifinition error

Benji Smith dlanguage at benjismith.net
Wed Oct 8 12:52:56 PDT 2008


torhu wrote:
> I think it's a different issue.  Selective imports work the same way as 
> aliases.  So in a way, BOOL is defined twice.  If this is by design or 
> accident, I don't know.
> 
> import win32.windef : BOOL;
> 
> is the same as:
> 
> import win32.windef;
> alias win32.windef.BOOL BOOL;

Gotcha. I just didn't read the original post closely enough.

--benji



More information about the Digitalmars-d mailing list