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

--- Comment #0 from Jonathan M Davis <> 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:
------- You are receiving this mail because: -------

Reply via email to