https://issues.dlang.org/show_bug.cgi?id=6585
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Component|DMD |Phobos --- Comment #1 from [email protected] --- This bug is still present in Phobos 2.065.0. See: http://dpaste.dzfl.pl/79743d502b27 As pointed out by David, this seems to be caused by Variant trying to pass a shared(double)* to the C function stdc.string.memcpy (btw, it is not specific to double). The error message has now become more cryptic. The same test case for Variant (http://dpaste.dzfl.pl/e0dcfdf241bb) now gives (truncated output for DMD): --- /usr/include/dlang/dmd/std/variant.d(585): Error: function core.stdc.string.memcpy (void* s1, const(void*) s2, ulong n) is not callable using argument types (ubyte[32]*, shared(double)*, ulong) /usr/include/dlang/dmd/std/variant.d(427): Error: template instance std.variant.VariantN!(32LU).VariantN.opAssign!(shared(double)) error instantiating --- --
