Module renaming ignored when also using selective import

Sebastian Lundstrom tretton at gmail.com
Mon Nov 3 12:37:09 PST 2008


Hi! I'm using DMD 1.033 (with tangobos), so I'm not really sure about this one. But when I both rename and use a selective import, the renaming doesn't seem to have any effect:

import mystdout = tango.io.Stdout : Stdout;
void main()
{
	Stdout("Should require mystdout prefix?");
}

The above code compiles and runs just fine. Same code attached to the post.

Thank you for a great language!
-Seb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imptest.d
Type: application/octet-stream
Size: 110 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20081103/cb40ab14/attachment.obj>


More information about the Digitalmars-d mailing list