http://d.puremagic.com/issues/show_bug.cgi?id=8323

           Summary: std.string.chompPrefix does not handle varying string
                    types properly
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: jmdavisp...@gmx.com


--- Comment #0 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-06-30 00:14:27 
PDT ---
This fails

assert(equal(chompPrefix("\uFF28el\uFF4co", "\uFF28el\uFF4co"w), ""));

This because chompPrefix is assuming that the two strings that it's given have
the same character type even though it's templated to take two completely
different character types.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to