[Issue 20768] [DIP1014] __move_post_blt must recursively call itself on static arrays whose elements are structs or static arrays that recursively contain structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 26 07:44:51 UTC 2020


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@n8sh created dlang/druntime pull request #3065 "[DIP1014] __move_post_blt:
recursively call on fields that are static arrays & do not recursively call on
non-field members" fixing this issue:

- Fix Issue 20768 - __move_post_blt must recursively call itself on static
arrays whose elements are structs or static arrays that recursively contain
structs [DIP1014]

  NB: this fix disregards DIP1014's advice to either not use hasElaborateMove!T
  within __move_post_blt or to use it only once at the start of the function.

https://github.com/dlang/druntime/pull/3065

--


More information about the Digitalmars-d-bugs mailing list