digitalmars.D.bugs - [Issue 1754] New: module member visibility does not affect conflicts
- d-bugmail puremagic.com (39/39) Dec 30 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1754
- d-bugmail puremagic.com (9/9) Aug 06 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1754
- d-bugmail puremagic.com (8/8) Feb 18 2012 http://d.puremagic.com/issues/show_bug.cgi?id=1754
- d-bugmail puremagic.com (9/9) Feb 18 2012 http://d.puremagic.com/issues/show_bug.cgi?id=1754
- d-bugmail puremagic.com (8/8) Feb 18 2012 http://d.puremagic.com/issues/show_bug.cgi?id=1754
- d-bugmail puremagic.com (9/9) Feb 18 2012 http://d.puremagic.com/issues/show_bug.cgi?id=1754
http://d.puremagic.com/issues/show_bug.cgi?id=1754 Summary: module member visibility does not affect conflicts Product: D Version: 1.024 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: thecybershadow gmail.com === a.d === module a; import b; import c; void main() { func(); } === b.d === module b; private void func() { } === c.d === module c; void func() { } === compiler output === a.d(8): Error: b.func at b.d(3) conflicts with c.func at c.d(3) a.d: module a b.func is private a.d(8): Error: function b.func is not accessible from a Changing the import order removes the last two errors. Particularly annoying in some cases with Phobos (e.g. std.string.iswhite and std.stream.iswhite). --
Dec 30 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1754 dsimcha yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from dsimcha yahoo.com 2008-08-06 12:15 ------- *** This bug has been marked as a duplicate of 1238 *** --
Aug 06 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1754 --- Comment #2 from github-bugzilla puremagic.com 2012-02-18 11:04:30 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/fe30e8aec437a9bb42acf9bca11faf12078cd74e fixed Issue 1754 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 18 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1754 --- Comment #3 from github-bugzilla puremagic.com 2012-02-18 11:47:12 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/de3acab2c613267ba5087ab62681391968afb3ff Revert "fixed Issue 1754" This reverts commit fe30e8aec437a9bb42acf9bca11faf12078cd74e. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 18 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1754 --- Comment #4 from github-bugzilla puremagic.com 2012-02-18 16:18:15 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/57a7a439f20d303eb36ad7919fb81714c91f564e fixed Issue 1754 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 18 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1754 --- Comment #5 from github-bugzilla puremagic.com 2012-02-18 16:22:49 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6404649875861176dc466633bbe4ee6e4bf32758 Revert "fixed Issue 1754" This reverts commit 57a7a439f20d303eb36ad7919fb81714c91f564e. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 18 2012