digitalmars.D.bugs - [Issue 9554] New: Inconsistent stringof and mangleof result for module/package identifier
- d-bugmail puremagic.com (34/34) Feb 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9554
- d-bugmail puremagic.com (10/10) Feb 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9554
- d-bugmail puremagic.com (9/9) Feb 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9554
http://d.puremagic.com/issues/show_bug.cgi?id=9554 Summary: Inconsistent stringof and mangleof result for module/package identifier Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com This test case should pass, but fails. module test.mod; alias pkg = test; template Test(alias name) { enum Test = name; } void fun() {} // ("fun()"c == "void()"c) is false static assert(fun.stringof == Test!(fun.stringof)); // ("_D4test3mod3funFZv"c == "FZv"c) is false static assert(fun.mangleof == Test!(fun.mangleof)); // identifier 'stringof' of 'test.stringof' is not defined static assert(test.stringof == Test!(test.stringof)); // identifier 'mangleof' of 'test.mangleof' is not defined static assert(test.mangleof == Test!(test.mangleof)); // identifier 'stringof' of 'pkg.stringof' is not defined static assert(pkg.stringof == Test!(pkg.stringof)); // identifier 'mangleof' of 'pkg.mangleof' is not defined static assert(pkg.mangleof == Test!(pkg.mangleof)); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 21 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9554 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/1681 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 21 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9554 Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5b17d1fa465de4e550c991ede7008f03eb906282 fix Issue 9554 - Inconsistent stringof and mangleof result for module/package identifier -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 21 2013