[Issue 314] Static, renamed, and selective imports are always public

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 17 13:26:10 PDT 2008


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





------- Comment #4 from kamm-removethis at incasoftware.de  2008-04-17 15:26 -------
(In reply to comment #3)
> Created an attachment
> Fix by checking protection attribute for all nonlocal symbols

I aimed a little high; this patch does not add checks for the protection
attribute for all nonlocal symbols. It adds checks only for the ones contained
in ScopeDsymbol and only in a coarse (public or private) way.

But doing that consistently is a different bug/enhancement anyway. Using a
variation of this patch to fix the import issue bugs 313 and 314 describe
should still be fine.


-- 



More information about the Digitalmars-d-bugs mailing list