digitalmars.D.bugs - [Issue 10913] New: [2.064 git-head] regex/demange compilation failure
- d-bugmail puremagic.com (49/49) Aug 27 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10913
- d-bugmail puremagic.com (12/12) Aug 27 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10913
- d-bugmail puremagic.com (12/12) Aug 28 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10913
- d-bugmail puremagic.com (11/11) Aug 28 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10913
- d-bugmail puremagic.com (10/10) Aug 29 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10913
- d-bugmail puremagic.com (11/11) Sep 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10913
- d-bugmail puremagic.com (9/9) Sep 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10913
http://d.puremagic.com/issues/show_bug.cgi?id=10913 Summary: [2.064 git-head] regex/demange compilation failure Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: cbkbbejeap mailinator.com 13:05:29 PDT --- The following worked in v2.063.2, but not in the latest github masters (This is preventing the "ddemangle" tool from compiling in the latest github master): ------------------------------------------- import core.demangle; import std.regex; void main() { replace!((a) => demangle(a.hit))("blah", regex(`a`)); } ------------------------------------------- Result with github master: ------------------------------------------- ../dmd/src/../../phobos/std/regex.d(6078): Error: template D main.__lambda2 does not match any function template declaration. Candidates are: test.d(5): test.main.__lambda2(__T1)(a) ../dmd/src/../../phobos/std/regex.d(6078): Error: template test.main.__lambda2(__T1)(a) cannot deduce template function from argument types !()(Captures!(string, uint), Appender!string) ../dmd/src/../../phobos/std/regex.d(6106): Error: template instance test.main.replaceMatchesInto!(__lambda2, Appender!string, string, RegexMatch!(string, ThompsonMatcher)) error instantiating ../dmd/src/../../phobos/std/regex.d(6399): instantiated from here: replaceAllWith!(__lambda2, match, string, Regex!char) test.d(5): instantiated from here: replace!(__lambda2, string, Regex!char) ../dmd/src/../../phobos/std/regex.d(6399): Error: template instance test.main.replaceAllWith!(__lambda2, match, string, Regex!char) error instantiating test.d(5): instantiated from here: replace!(__lambda2, string, Regex!char) test.d(5): Error: template instance test.main.replace!(__lambda2, string, Regex!char) error instantiating ------------------------------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 27 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10913 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |hsteoh quickfur.ath.cx Resolution| |DUPLICATE *** This issue has been marked as a duplicate of issue 10896 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 27 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10913 Dmitry Olshansky <dmitry.olsh gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |dmitry.olsh gmail.com Resolution|DUPLICATE | 02:22:21 PDT --- It's about replace function in std.regex not just ddemangle failing to compile. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 28 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10913 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Component|DMD |Phobos This bug is not in DMD, it's a backward incompatibility caused by the latest changes to std.regex. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 28 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10913 Dmitry Olshansky <dmitry.olsh gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull 08:53:03 PDT --- https://github.com/D-Programming-Language/phobos/pull/1532 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 29 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10913 Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/99f466fee09a8fe41d04c785f5d7942e65f5b326 fix issue 10913 safety of std.regex replace API https://github.com/D-Programming-Language/phobos/commit/8e6bf693ac57c38e4fc6b8af8ca28e7ff7fbfb4f Fix issue 10913 std.regex API regression -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10913 Dmitry Olshansky <dmitry.olsh gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 08 2013