http://d.puremagic.com/issues/show_bug.cgi?id=9122
Tavi Cacina <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://d.puremagic.com/issu | |es/show_bug.cgi?id=10017 --- Comment #7 from Tavi Cacina <[email protected]> 2013-05-14 23:54:37 PDT --- (In reply to comment #6) > > Also the following code works correctly for me on 2.062. yes, here I have a wrong sample, the structure size must exceed 32bytes. The S should be: struct S { int[9] s; } See #10017 - Can not assign to a Variant another Variant holding a bigger structure I also made a pull request for it ( https://github.com/D-Programming-Language/phobos/pull/1281 ) but David Nadlinger wants to fix the fact that these Variant assignments trigger a reallocation even if there already is a heap value (comments in pull). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
