On Tuesday, 30 July 2013 at 14:42:47 UTC, Dicebot wrote:
On Tuesday, 30 July 2013 at 14:31:00 UTC, Kenji Hara wrote:
I think it's a not good compiler implementation detail and
unnecessary
intrusive behavior.
Now I'm proposing to fix import mechanism in here.
https://github.com/D-Programming-Language/dmd/pull/2256
That I agree. My comment referred to the opinion that having
two identical imports in the same scope should not compile
anyway, whatever the actual reason is.
I would think that a redundant import would be something along
the lines of a warning, not a full on error, there is no reason
the compiler shouldn't be able to compile it.