[Issue 19234] betterC TypeInfo error when using slice copy or slice assign on Structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 1 14:37:37 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19234

Nathan S. <n8sh.secondary at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n8sh.secondary at hotmail.com
           Hardware|x86_64                      |All
            Summary|betterC TypeInfo error when |betterC TypeInfo error when
                   |using slice copy on Structs |using slice copy or slice
                   |                            |assign on Structs
                 OS|Windows                     |All

--- Comment #1 from Nathan S. <n8sh.secondary at hotmail.com> ---
Also applies to slice assign with structs.

//flags: -betterC
extern(C):

struct S { int a; }

void main()
{
    S[10] array;
    S val;
    array[] = val;
}

--


More information about the Digitalmars-d-bugs mailing list