[dmd-internals] [D-Programming-Language/dmd] 708307: add lazy to the "don't destruct" list

GitHub noreply at github.com
Thu Jun 21 20:21:39 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 7083076a06da8b43c3b515ac7ef0bd8330287f5d
      https://github.com/D-Programming-Language/dmd/commit/7083076a06da8b43c3b515ac7ef0bd8330287f5d
  Author: Nils Boßung <nilsbossung at googlemail.com>
  Date:   2012-06-10 (Sun, 10 Jun 2012)

  Changed paths:
    M src/func.c

  Log Message:
  -----------
  add lazy to the "don't destruct" list

Lazy parameters are actually delegates. Calling the struct destructor on
them was nonsense.

This fixes issue 8182.


  Commit: 009ce61ff416f1437e60c37d572c47878d694099
      https://github.com/D-Programming-Language/dmd/commit/009ce61ff416f1437e60c37d572c47878d694099
  Author: Nils Boßung <nilsbossung at googlemail.com>
  Date:   2012-06-10 (Sun, 10 Jun 2012)

  Changed paths:
    A test/runnable/test8182.d

  Log Message:
  -----------
  add a test for issue 8182


  Commit: d313a470d78efd1995ef27dd37f64a66128bbc4c
      https://github.com/D-Programming-Language/dmd/commit/d313a470d78efd1995ef27dd37f64a66128bbc4c
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-06-21 (Thu, 21 Jun 2012)

  Changed paths:
    M src/func.c
    A test/runnable/test8182.d

  Log Message:
  -----------
  Merge pull request #995 from NilsBossung/bugzilla8182

fix Issue 8182 - with a lazy struct parameter, the struct's destructor is called on the generated delegate


Compare: https://github.com/D-Programming-Language/dmd/compare/d7a8d63ac7bf...d313a470d78e


More information about the dmd-internals mailing list