http://d.puremagic.com/issues/show_bug.cgi?id=10017
Summary: Can not assign to a Variant another Variant holding a bigger structure Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: octavian.cac...@outlook.com Blocks: 9122 --- Comment #0 from Tavi Cacina <octavian.cac...@outlook.com> 2013-05-02 10:31:15 PDT --- --- import std.variant; struct S { int[9] s; } void main() { Variant v1, v2; // maximum payload size 32 bytes v1 = S(); // OK, the payload is allocated with new v2 = v1; // AssertError: target must be non-null } --- This error affects also the max size of a std.concurrency message, see #9122. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------