[Issue 9122] std.concurrency send() fails with multiple arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 14 23:54:39 PDT 2013


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


Tavi Cacina <octavian.cacina at outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |http://d.puremagic.com/issu
                   |                            |es/show_bug.cgi?id=10017


--- Comment #7 from Tavi Cacina <octavian.cacina at outlook.com> 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: -------


More information about the Digitalmars-d-bugs mailing list