DMD 0.163 release

Walter Bright newshound at digitalmars.com
Tue Jul 18 23:36:03 PDT 2006


Derek Parnell wrote:
> Given that the form "static import XXX" and "import XXX = whatever" both
> require XXX to be used when referencing members, the 'static' import is
> only required when one is not renaming the module, eg.   "import io =
> std.stdio;" and "static import io = std.stdio;" are identical, I sort of
> liked the idea that dropped the need for 'static' and if one wanted to
> force FQN using the normal module name, one could have written "import
> std.stdio = std.stdio;".

I thought of that too, but it would be a weird special case, as having:

	import foo.bar = std.stdio;

would be quite bizarre.



More information about the Digitalmars-d-announce mailing list