digitalmars.D.bugs - [Issue 6307] New: imported packages are visible everywhere
- d-bugmail puremagic.com (24/24) Jul 13 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6307
- d-bugmail puremagic.com (9/9) Jul 13 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6307
- d-bugmail puremagic.com (12/12) Feb 16 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6307
http://d.puremagic.com/issues/show_bug.cgi?id=6307 Summary: imported packages are visible everywhere Product: D Version: D1 & D2 Platform: Other OS/Version: Linux Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: kamm-removethis incasoftware.de --- Comment #0 from Christian Kamm <kamm-removethis incasoftware.de> 2011-07-13 11:27:34 PDT --- import1.d: import std.stdint; // includes nothing else in std.* void main() { std.stdio.writeln("hello"); } import2.d: import std.stdio; dmd -c import1.d import2.d compiles without error. It should error on std.stdio in import1.d. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 13 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6307 --- Comment #1 from Christian Kamm <kamm-removethis incasoftware.de> 2011-07-13 11:33:47 PDT --- Another test case using only a single file: import std.stdint; void bar() { import std.stdio; } void main() { std.stdio.writeln("foo"); } // expected error -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 13 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6307 dawg dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dawg dawgfoto.de Resolution| |DUPLICATE --- Comment #2 from dawg dawgfoto.de 2012-02-16 19:28:48 PST --- *** This issue has been marked as a duplicate of issue 313 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 16 2012