Denis Koroskin Wrote:
> First, I can't import Foo, because it will lead to name collision. It means
> that I have no access to enum Bar and its elements.
For me no name collision happens when I import Foo, only enum is forward
referenced, here you are safe to declare function with int parameter
bearophile wrote:
Leandro Lucarella:
grauzone:
- the current import semantics should be redone such that "import
a.b.c.d;" works like "import d = a.b.c.d;", and add a new syntax like
"import a.b.c.d.*;" to get the current behavior
Shouldn't be static import a.b.c.d;? It's a little odd to g
Leandro Lucarella:
> grauzone:
> > - the current import semantics should be redone such that "import
> > a.b.c.d;" works like "import d = a.b.c.d;", and add a new syntax like
> > "import a.b.c.d.*;" to get the current behavior
>
> Shouldn't be static import a.b.c.d;? It's a little odd to get i
grauzone, el 22 de abril a las 18:58 me escribiste:
> Ah, the monthly bearophile modules-must-be-fixed thread. (It was only three
> times?)
>
> Here are my ideas/concerns:
> - the current import semantics should be redone such that "import
> a.b.c.d;" works like "import d = a.b.c.d;", and add a
Ah, the monthly bearophile modules-must-be-fixed thread. (It was only
three times?)
Here are my ideas/concerns:
- the current import semantics should be redone such that "import
a.b.c.d;" works like "import d = a.b.c.d;", and add a new syntax like
"import a.b.c.d.*;" to get the current behavio
On Wed, 22 Apr 2009 12:55:44 +0400, bearophile wrote:
> The current module&package system of D2 needs to be fixed, it has some
> conceptual/semantic/logic holes. It looks like the result a good design
> stopped mid-way.
>
> I have discussed them three times in the past, and now that Phobos2 i
在 Wed, 22 Apr 2009 16:55:44 +0800,bearophile
写道:
The current module&package system of D2 needs to be fixed, it has some
conceptual/semantic/logic holes. It looks like the result a good design
stopped mid-way.
I have discussed them three times in the past
Yes, the package does not offer
The current module&package system of D2 needs to be fixed, it has some
conceptual/semantic/logic holes. It looks like the result a good design stopped
mid-way.
I have discussed them three times in the past, and now that Phobos2 is mostly
here and only a better support for multi-threading progra