Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
October 30, 2010 [Issue 5133] New: dmd fails to build rdmd (problem with startsWith) | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5133 Summary: dmd fails to build rdmd (problem with startsWith) Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: cbkbbejeap@mailinator.com --- Comment #0 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2010-10-29 23:39:58 PDT --- Regression from 2.049->2.050, using rdmd.d r1400: >dmd rdmd.d std.contracts has been scheduled for deprecation. Please use std.exception instead. rdmd.d(186): Error: template std.algorithm.startsWith(alias pred = "a == b",Range,Ranges...) if (Ranges.length > 1 && isInputRange!(Range) && is(typeof(.startsWith!(pred)(doesThisStart,withOneOfThese[0])) : bool) && is(typeof(.startsWith!(pred)(doesThisStart,withOneOfThese[1..__dollar])) : uint)) does not match any function template declaration rdmd.d(186): Error: template std.algorithm.startsWith(alias pred = "a == b",Range,Ranges...) if (Ranges.length > 1 && isInputRange!(Range) && is(typeof(.startsWith!(pred)(doesThisStart,withOneOfThese[0])) : bool) && is(typeof(.startsWith!(pred)(doesThisStart,withOneOfThese[1..__dollar])) : uint)) cannot deduce template function from argument types !()(const(immutable(char)[]),string) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 30, 2010 [Issue 5133] dmd fails to build rdmd (problem with startsWith) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | http://d.puremagic.com/issues/show_bug.cgi?id=5133 --- Comment #1 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2010-10-29 23:59:47 PDT --- Put a reduced test case for this in issue 5134. Made it a separate issue because I think that might be non-trivial to solve, whereas this should be easy to work around. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 30, 2010 [Issue 5133] dmd fails to build rdmd (problem with startsWith) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | http://d.puremagic.com/issues/show_bug.cgi?id=5133 --- Comment #2 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2010-10-30 00:03:55 PDT --- Workaround: Change line #183 from: bool inALibrary(in string source, in string object) to: bool inALibrary(string source, in string object) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 30, 2010 [Issue 5133] dmd fails to build rdmd (problem with startsWith) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | http://d.puremagic.com/issues/show_bug.cgi?id=5133 Sönke Ludwig <ludwig@informatik.uni-luebeck.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ludwig@informatik.uni-luebe | |ck.de --- Comment #3 from Sönke Ludwig <ludwig@informatik.uni-luebeck.de> 2010-10-30 03:59:09 PDT --- I mentioned this also on the beta mailing list; the direct cause are the changes done by David Simcha to avoid code in phobos that relies on issue 3534. I also got this problem for startsWith, but almost all functions working with ranges should be affected by this. David also proposed a language fix for this that sounds promising, although I did not really think through all the implications: http://www.digitalmars.com/d/archives/digitalmars/D/Proposal_Automatic_shallow_Unqual_on_IFTI_113653.html The alternative would be to change all functions dealing with ranges that have this issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 15, 2010 [Issue 5133] dmd fails to build rdmd (problem with startsWith) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | http://d.puremagic.com/issues/show_bug.cgi?id=5133 Shin Fujishiro <rsinfu@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |rsinfu@gmail.com AssignedTo|nobody@puremagic.com |rsinfu@gmail.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 16, 2010 [Issue 5133] dmd fails to build rdmd (problem with startsWith) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | http://d.puremagic.com/issues/show_bug.cgi?id=5133 Shin Fujishiro <rsinfu@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Shin Fujishiro <rsinfu@gmail.com> 2010-11-16 13:01:38 PST --- Worked around: http://www.dsource.org/projects/phobos/changeset/2169 Still bug 5134 is problem. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation