digitalmars.D.bugs - [Issue 8922] New: __traits(parent, <imported package>) shows current module as a parent
- d-bugmail puremagic.com (37/37) Oct 31 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8922
- d-bugmail puremagic.com (10/10) Oct 31 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8922
- d-bugmail puremagic.com (12/12) Jan 09 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8922
- d-bugmail puremagic.com (11/11) Jan 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8922
- d-bugmail puremagic.com (10/10) Jan 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8922
- d-bugmail puremagic.com (10/10) Jan 26 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8922
http://d.puremagic.com/issues/show_bug.cgi?id=8922 Summary: __traits(parent, <imported package>) shows current module as a parent Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: verylonglogin.reg gmail.com 20:54:17 MSK --- This issue is for globally imported symbols only: m2.d: --- module p2.m2; --- m1.d: --- module p1.m1; import p2.m2; static assert(!__traits(compiles, __traits(parent, p2))); // fails void main() { static assert(!__traits(compiles, __traits(parent, p2))); // fails import p2.m2; static assert(!__traits(compiles, __traits(parent, p2))); // passes } pragma(msg, __traits(parent, p2)); // prints `module m1` instead of error --- This issue affects `std.traits.packageName`. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 31 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8922 Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/f173f980df42c926ba5fb4b073f779fde2805d81 Add more `std.traits.packageName` unittests * some of the unittests are commented out because of the Issue 8922 * Issue 8922 URL: http://d.puremagic.com/issues/show_bug.cgi?id=8922 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 31 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8922 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |andrej.mitrovich gmail.com AssignedTo|nobody puremagic.com |andrej.mitrovich gmail.com 16:03:24 PST --- https://github.com/D-Programming-Language/dmd/pull/1455 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 09 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8922 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/8b31b3d8171abd9e06e1b7f18201fbe25fde20e3 Fixes Issue 8922 - __traits(parent) should fail on top package import https://github.com/D-Programming-Language/dmd/commit/7d36ee467bf76f371c3b9a6399b00f811320bd65 Issue 8922 - __traits(parent) should fail on top package import -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 19 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8922 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 19 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8922 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.strashun gmail.com 10:02:19 PST --- *** Issue 9405 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 26 2013