[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
Wed May 27 04:46:53 UTC 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
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" was merged into master:

- e4b00e7370d031797991cac124982e23ae85ea53 by Nathan Sashihara:
  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