Bug 10896 – currently tools/ddemangle doesn't compile on git master

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-08-25T23:36:00Z
Last change time
2013-08-28T21:19:29Z
Keywords
pull
Assigned to
nobody
Creator
thelastmammoth

Comments

Comment #0 by thelastmammoth — 2013-08-25T23:36:59Z
reposting from D newsgroup: 'is the tools part of the test suite? currently tools/ddemangle doesn't compile on git master' More often than not, the tools submodule (https://github.com/D-Programming-Language/tools) will not build on git master. So I'm wondering whether it's even being tested before pushing commits. The error I have now is with ddemangle: std.md5 is scheduled for deprecation. Please use std.digest.md instead phobos/std/regex.d(6706): Error: template D main.__lambda3 does not match any function template declaration. Candidates are: ddemangle.d(57): ddemangle.main.__lambda3(__T2)(a) (this is the line: writeln(replace!((a) => demangle(a.hit))(line, r));) also, enhancement request: make tools part of test suite.
Comment #1 by hsteoh — 2013-08-27T15:15:43Z
*** Issue 10913 has been marked as a duplicate of this issue. ***
Comment #2 by hsteoh — 2013-08-27T16:06:39Z
As stated in bug #10913, this is a regression from 2.063.2.
Comment #3 by hsteoh — 2013-08-27T16:16:37Z
Comment #4 by hsteoh — 2013-08-27T16:21:33Z
OTOH, the breakage of std.regex.replace for lambdas probably should also be addressed, because once 2.064 is out it's gonna break existing code.
Comment #5 by dmitry.olsh — 2013-08-28T02:22:49Z
(In reply to comment #4) > OTOH, the breakage of std.regex.replace for lambdas probably should also be > addressed, because once 2.064 is out it's gonna break existing code. Right, thus you were a bit hasty to mark Issue 10913 as duplicate.
Comment #6 by hsteoh — 2013-08-28T21:19:29Z
Confirmed fixed in git HEAD.