Allow identical imports

Dicebot public at dicebot.lv
Tue Jul 30 07:48:03 PDT 2013


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.

To clarify even more: I consider it a mistake that identical 
imports are allowed even for "normal" imports but that can't be 
changed. At least specialized ones can be kept clean.


More information about the Digitalmars-d mailing list