DMD 0.163 release

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


Chris Nicholson-Sauls wrote:
> Is it possible to do a static selective import?  In other words:
> # static import foo : bar ; // must use 'foo.bar' to refer to it

No.

> Or to do a static renamed selective import, even:
> # static import abc = foo : def = bar ; // must use 'abc.def', which 
> defers to 'foo.bar'

No.

> And I assume there is no way to import more than one module selectively 
> in one module declaration, since there is no syntax to terminate the 
> symbol list after the ':' terminal, aside from ending the declaration 
> altogether.

That's right. You'll need to do it as a separate declaration.


> One last time: hooray for default private imports!  ;)  You are an 
> amazing individual, Mr. Bright.  And D is an amazing language.

Thank-you (!)



More information about the Digitalmars-d-announce mailing list