[Issue 10081] New: Incorrect char array comparison

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 14 02:37:34 PDT 2013


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

           Summary: Incorrect char array comparison
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Keywords: wrong-code
          Severity: major
          Priority: P2
         Component: druntime
        AssignedTo: verylonglogin.reg at gmail.com
        ReportedBy: verylonglogin.reg at gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-05-14 13:37:32 MSD ---
---
auto a = "hello"c;
assert(a < "я"); // Fails

char[1] arr1 = [0], arr2 = [0xFF];
assert(arr1 < arr2); // Fails
---

-- 
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