[Issue 260] conflicting imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 29 09:47:49 PDT 2006


http://d.puremagic.com/issues/show_bug.cgi?id=260





------- Comment #8 from daiphoenix at lycos.com  2006-07-29 11:47 -------
(In reply to comment #7)
> But it should give an error something like ...
>   test.d(4): undefined identifier std
> because it didn't import std.stdio and both foo.d and bar.d imported that as
> private, so test.d shouldn't use those imports.

Well then, maybe it should give such error, but that's another bug altogether.
This error is not related to protection attributes: when it appeared, it
appeared even when public imports were used.

This bug report, besides being mildly malformed IMO, is a duplicate of bug
#209.


-- 




More information about the Digitalmars-d-bugs mailing list