[dmd-internals] [D-Programming-Language/dmd] f137b3: Supplemental fix for issue 14407 - Add missing not...

GitHub via dmd-internals dmd-internals at puremagic.com
Mon Feb 1 02:30:42 PST 2016


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: f137b31edae2200cc30014eaee386ad0ac93910f
      https://github.com/D-Programming-Language/dmd/commit/f137b31edae2200cc30014eaee386ad0ac93910f
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2016-01-31 (Sun, 31 Jan 2016)

  Changed paths:
    M src/canthrow.d
    M test/fail_compilation/fail14407.d

  Log Message:
  -----------
  Supplemental fix for issue 14407 - Add missing nothrow check for allocator in NewExp


  Commit: 2c6618d3015d9ea1969a298d1da3293fa18a48b9
      https://github.com/D-Programming-Language/dmd/commit/2c6618d3015d9ea1969a298d1da3293fa18a48b9
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2016-01-31 (Sun, 31 Jan 2016)

  Changed paths:
    M src/canthrow.d
    M src/expression.d
    M src/nogc.d
    A test/fail_compilation/fail14486.d

  Log Message:
  -----------
  fix Issue 14486 - delete on classes ignores @nogc

Also check other attributes, pure @safe and nothrow in DeleteExp


  Commit: 0be1f3dfa6751262712069f62aa44659cd682517
      https://github.com/D-Programming-Language/dmd/commit/0be1f3dfa6751262712069f62aa44659cd682517
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2016-01-31 (Sun, 31 Jan 2016)

  Changed paths:
    M src/canthrow.d
    M src/expression.d
    M src/nogc.d
    M test/fail_compilation/diag10319.d
    M test/fail_compilation/diag7050a.d
    M test/fail_compilation/diag7050c.d
    M test/fail_compilation/diag9148.d
    M test/fail_compilation/fail10254.d
    M test/fail_compilation/fail10964.d
    M test/fail_compilation/fail11375.d
    M test/fail_compilation/fail12908.d
    M test/fail_compilation/fail12932.d
    M test/fail_compilation/fail13120.d
    M test/fail_compilation/fail14407.d
    M test/fail_compilation/fail14486.d
    M test/fail_compilation/fail349.d
    M test/fail_compilation/fail4082.d
    M test/fail_compilation/fail7848.d
    M test/fail_compilation/nogc1.d
    M test/fail_compilation/nogc2.d
    M test/fail_compilation/nogc3.d

  Log Message:
  -----------
  Improve diagnostic messages by the integration with "kind 'fully.qualified.name'"


  Commit: 5edbb4fb7e5a9f907b864c872b9044c74b25a54d
      https://github.com/D-Programming-Language/dmd/commit/5edbb4fb7e5a9f907b864c872b9044c74b25a54d
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2016-01-31 (Sun, 31 Jan 2016)

  Changed paths:
    M test/runnable/testdstress.d

  Log Message:
  -----------
  Fix test code bug for the FinalizeError.

The old code had accidentally worked. There was two `delete m`s in the try
block - explicit one and implcit for the scope destruction. However, the
second `delete` was never invoked until now, because:

a. `DeleteExp::canThrow()` was not overloaded so it had returned false always.
b. `TryFinallyStatement::semantic()` has an optimization if no exception
   will be thrown from the try block, it's translated to CompoundStatements.

By that, the scope destruction had not been placed in finalize block,
then it had just been skipped when the first `delete` throws `FinalizeError`.


  Commit: 5665dc7aadc241996d6f405866b1c3735c39c403
      https://github.com/D-Programming-Language/dmd/commit/5665dc7aadc241996d6f405866b1c3735c39c403
  Author: Iain Buclaw <ibuclaw at gdcproject.org>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

  Changed paths:
    M src/canthrow.d
    M src/expression.d
    M src/nogc.d
    M test/fail_compilation/diag10319.d
    M test/fail_compilation/diag7050a.d
    M test/fail_compilation/diag7050c.d
    M test/fail_compilation/diag9148.d
    M test/fail_compilation/fail10254.d
    M test/fail_compilation/fail10964.d
    M test/fail_compilation/fail11375.d
    M test/fail_compilation/fail12908.d
    M test/fail_compilation/fail12932.d
    M test/fail_compilation/fail13120.d
    M test/fail_compilation/fail14407.d
    A test/fail_compilation/fail14486.d
    M test/fail_compilation/fail349.d
    M test/fail_compilation/fail4082.d
    M test/fail_compilation/fail7848.d
    M test/fail_compilation/nogc1.d
    M test/fail_compilation/nogc2.d
    M test/fail_compilation/nogc3.d
    M test/runnable/testdstress.d

  Log Message:
  -----------
  Merge pull request #4860 from 9rnsr/fix14486

Issue 14486 - delete on classes ignores @nogc


Compare: https://github.com/D-Programming-Language/dmd/compare/7df77f7a9d10...5665dc7aadc2


More information about the dmd-internals mailing list