[Issue 12560] [CTFE] Accepts invalid array assign of void[], breaks type system

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 18 07:19:57 UTC 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n8sh.secondary at hotmail.com
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=15704

--- Comment #1 from Nathan S. <n8sh.secondary at hotmail.com> ---
As of 2.072 this code does not compile in `@safe`: "Error: cannot copy void[]
to void[] in @safe code." The interesting CTFE behavior still occurs as of
2.096.

--


More information about the Digitalmars-d-bugs mailing list