[Issue 11065] Package-scoped import introduces symbol conflicts
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 18 15:03:21 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11065
--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-18 15:03:20 PDT ---
The problem of course is that "package" has no real meaning for imports, and
should therefore be ignored. In other words, this:
----
package:
import abcd;
----
Should not mark the import as a package import (this has no meaning in the
spec), it should stay as a private import unless typed differently, e.g.:
----
package:
import abcd; // private import
void foo() { } // package function
----
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list