Module renaming ignored when also using selective import

Gide Nwawudu gide at btinternet.com
Tue Nov 4 03:38:33 PST 2008


On Mon, 03 Nov 2008 15:37:09 -0500, Sebastian Lundstrom
<tretton at gmail.com> wrote:
>import mystdout = tango.io.Stdout : Stdout;
> void main()
> {
>	Stdout("Should require mystdout prefix?");
> }

D is behaving as expected, see the section 'Renamed and Selective
Imports'.
http://www.digitalmars.com/d/2.0/module.html

Gide



More information about the Digitalmars-d mailing list