Is there any way to make selective imports private? I've got a
name clash from importing an all module that has a bunch of
public imports, one of which is circular, it goes sort of like
this:
module math.all;
public:
import geometry;
import vectors;
---
module vectors;
struct Vector {}
On Wed, Aug 06, 2014 at 06:19:34PM +, Vlad Levenfeld via
Digitalmars-d-learn wrote:
Is there any way to make selective imports private? I've got a name
clash from importing an all module that has a bunch of public
imports, one of which is circular, it goes sort of like this:
module
Most voted DMD bug : https://issues.dlang.org/show_bug.cgi?id=314
On Wednesday, 6 August 2014 at 18:33:23 UTC, Dicebot wrote:
Most voted DMD bug :
https://issues.dlang.org/show_bug.cgi?id=314
+1 vote from me.
On Wednesday, 6 August 2014 at 18:33:23 UTC, Dicebot wrote:
Most voted DMD bug :
https://issues.dlang.org/show_bug.cgi?id=314
Yeah this is a famous bug that seems to catch everyone out at
some stage.
On Wednesday, 6 August 2014 at 18:33:23 UTC, Dicebot wrote:
Most voted DMD bug :
https://issues.dlang.org/show_bug.cgi?id=314
+1 from me as well.
This is unfortunate. D otherwise has a very comfortable import
system.
On Wednesday, 6 August 2014 at 19:31:04 UTC, Jonathan M Davis
wrote:
On Wednesday, 6 August 2014 at 18:33:23 UTC, Dicebot wrote:
Most voted DMD bug :
https://issues.dlang.org/show_bug.cgi?id=314
Yeah, it's why I'd suggest that folks not use selective imports
right now. But people seem to
On Wednesday, 6 August 2014 at 18:33:23 UTC, Dicebot wrote:
Most voted DMD bug :
https://issues.dlang.org/show_bug.cgi?id=314
Yeah, it's why I'd suggest that folks not use selective imports
right now. But people seem to really love the feature, so they
use it and keep running into this
On Wednesday, 6 August 2014 at 19:35:02 UTC, Dicebot wrote:
On Wednesday, 6 August 2014 at 19:31:04 UTC, Jonathan M Davis
wrote:
On Wednesday, 6 August 2014 at 18:33:23 UTC, Dicebot wrote:
Most voted DMD bug :
https://issues.dlang.org/show_bug.cgi?id=314
Yeah, it's why I'd suggest that folks
Sure, but people keep using them at the module-level, which
really shouldn't be done until the bug is fixed. IMHO, we'd be
better off making it illegal to use selective imports at the
module-level rather than keeping it as-is.
- Jonathan M Davis
I'm curious, what's the problem with it
On Wed, Aug 06, 2014 at 10:07:53PM +, Vlad Levenfeld via
Digitalmars-d-learn wrote:
Sure, but people keep using them at the module-level, which really
shouldn't be done until the bug is fixed. IMHO, we'd be better off
making it illegal to use selective imports at the module-level rather
On Wednesday, 6 August 2014 at 22:24:24 UTC, H. S. Teoh via
Digitalmars-d-learn wrote:
My guess is that it requires knowledge of dmd internals that
only few
people have, and those few people have other fires to put out
right now.
Kenji has a PR with new symbol overload resolution system that
On Wed, Aug 06, 2014 at 10:55:14PM +, Dicebot via Digitalmars-d-learn wrote:
On Wednesday, 6 August 2014 at 22:24:24 UTC, H. S. Teoh via
Digitalmars-d-learn wrote:
My guess is that it requires knowledge of dmd internals that only few
people have, and those few people have other fires to
13 matches
Mail list logo