private selective import not so private ?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 10 17:55:40 PDT 2015


On Friday, 11 September 2015 at 00:52:00 UTC, BBasile wrote:
> While trying to get why some call to memmove without the right 
> import didn't lead to a compilation failure i've found that 
> imported symbols are not private ! Is that a bug ? The specs 
> don't say that a selective import is public !

Yes, it is one of the oldest, most infamous bugs D has, the 
dreaded #314:

https://issues.dlang.org/show_bug.cgi?id=314


More information about the Digitalmars-d-learn mailing list