[Issue 13809] dup no longer works with types with postblit and destructors

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Dec 2 19:36:06 PST 2014


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

--- Comment #1 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/949e7348f14a322c6b7de05d3a249086a51f0995
fix Issue 13809 - dup no longer works with types with postblit and destructors

- nested function literal is also assumed to be pure
  therefor the compiler complains about an impure destructor

- move the typeof to a separate _PostBlitType template
  as we only use it to get the postblit attributes

https://github.com/D-Programming-Language/druntime/commit/b66f2db7efabbaaf7473d4d51ded242db7ce388b
Merge pull request #1054 from MartinNowak/fix13809

fix Issue 13809 - dup no longer works with types with postblit and destructors

--


More information about the Digitalmars-d-bugs mailing list