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

           Summary: std.variant: Crash on comparing unordered types
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from David Nadlinger <[email protected]> 2012-11-17 15:55:24 
PST ---
Handling comparisons of unordered types in std.variant is broken:

---
import std.variant;
struct A { int a; }
auto b = Variant(A(3)) == A(4); // segfaults
auto c = Variant(A(3)) < A(4); // segfaults instead of throwing
---

Fix incoming.

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

Reply via email to