Thread overview | |||||
---|---|---|---|---|---|
|
November 17, 2012 [Issue 9043] New: std.variant: Crash on comparing unordered types | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com ReportedBy: code@klickverbot.at --- Comment #0 from David Nadlinger <code@klickverbot.at> 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: ------- |
November 18, 2012 [Issue 9043] std.variant: Crash on comparing unordered types | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | http://d.puremagic.com/issues/show_bug.cgi?id=9043 --- Comment #1 from github-bugzilla@puremagic.com 2012-11-17 17:02:16 PST --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/d3d0bf0ffcc27502fab827d975643bc3237e3267 Fix Issue 9043 - Crash on comparing unordered types. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 18, 2012 [Issue 9043] std.variant: Crash on comparing unordered types | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | http://d.puremagic.com/issues/show_bug.cgi?id=9043 Alex Rønne Petersen <alex@lycus.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |alex@lycus.org Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation