[Issue 5133] New: dmd fails to build rdmd (problem with startsWith)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 29 23:40:53 PDT 2010


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 at puremagic.com
        ReportedBy: cbkbbejeap at mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbejeap at 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: -------


More information about the Digitalmars-d-bugs mailing list