DMD 1.037 and 2.020 releases

bearophile bearophileHUGS at lycos.com
Tue Nov 25 23:54:45 PST 2008


Derek Parnell:
> An update to the Bugzilla 313 issue...
> It appears that it is fixed only with respect to accessing routines but not
> fixed when accessing variables.

The important thing is that there's movement still. Because as long as the compiler keeps moving forward, there's hope that eventually all or most of the bad holes in the current type system will be fixed :-)

A request to fill another small hole: this line of code:
import foo;
has to import the module name "foo" in the current namespace. While this other line:
import foo: bar;
Has to import the "bar" name in the current namespace, but not the "foo" name. 
This makes things more clean, and for example allows to have the name "foo" inside the module "foo" with no risk of name clash inside the head of the programmer.

Bye,
bearophile


More information about the Digitalmars-d-announce mailing list