[D-runtime] [D-Programming-Language/druntime] 949e73: fix Issue 13809 - dup no longer works with types w...

GitHub via D-runtime d-runtime at puremagic.com
Tue Dec 2 19:36:04 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 949e7348f14a322c6b7de05d3a249086a51f0995
      https://github.com/D-Programming-Language/druntime/commit/949e7348f14a322c6b7de05d3a249086a51f0995
  Author: Martin Nowak <code at dawg.eu>
  Date:   2014-12-03 (Wed, 03 Dec 2014)

  Changed paths:
    M src/object.di
    M src/object_.d

  Log Message:
  -----------
  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


  Commit: b66f2db7efabbaaf7473d4d51ded242db7ce388b
      https://github.com/D-Programming-Language/druntime/commit/b66f2db7efabbaaf7473d4d51ded242db7ce388b
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2014-12-03 (Wed, 03 Dec 2014)

  Changed paths:
    M src/object.di
    M src/object_.d

  Log Message:
  -----------
  Merge pull request #1054 from MartinNowak/fix13809

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


Compare: https://github.com/D-Programming-Language/druntime/compare/cad0f1dc3f17...b66f2db7efab


More information about the D-runtime mailing list