[dmd-internals] [D-Programming-Language/dmd] 8fcc1c: Remove redundant global.params.warnings checks

GitHub noreply at github.com
Mon Oct 8 10:45:54 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 8fcc1c24bfd5168247d2277dbb3b35e2a3ffc0f3
      https://github.com/D-Programming-Language/dmd/commit/8fcc1c24bfd5168247d2277dbb3b35e2a3ffc0f3
  Author: Leandro Lucarella <luca at llucax.com.ar>
  Date:   2012-10-07 (Sun, 07 Oct 2012)

  Changed paths:
    M src/doc.c
    M src/expression.c
    M src/parse.c
    M src/scope.c
    M src/typinf.c

  Log Message:
  -----------
  Remove redundant global.params.warnings checks


  Commit: 0a4c5c2549ffb955ce7d806928731490717056a0
      https://github.com/D-Programming-Language/dmd/commit/0a4c5c2549ffb955ce7d806928731490717056a0
  Author: Leandro Lucarella <luca at llucax.com.ar>
  Date:   2012-10-07 (Sun, 07 Oct 2012)

  Changed paths:
    M src/expression.c

  Log Message:
  -----------
  Use small case as with all other warnings


  Commit: e750799230b13f9b18dfa3ab4739f871552f5546
      https://github.com/D-Programming-Language/dmd/commit/e750799230b13f9b18dfa3ab4739f871552f5546
  Author: Leandro Lucarella <luca at llucax.com.ar>
  Date:   2012-10-08 (Mon, 08 Oct 2012)

  Changed paths:
    M src/expression.c
    M src/func.c
    M src/parse.c
    M src/toobj.c

  Log Message:
  -----------
  Convert error()s to deprecation()s

Commit 82ebe03 missed some error() calls that were really
deprecation()s. This patch just convert them as appropriate.


  Commit: 41dc817f0c9bc3e329cd301aa9bd5ebb3b48369f
      https://github.com/D-Programming-Language/dmd/commit/41dc817f0c9bc3e329cd301aa9bd5ebb3b48369f
  Author: Leandro Lucarella <luca at llucax.com.ar>
  Date:   2012-10-08 (Mon, 08 Oct 2012)

  Changed paths:
    M src/expression.c

  Log Message:
  -----------
  Remove commented out code using error()

Keeping commented out code is just a maintenance burden because it
either has to be updated as if it were in use (but it will remain
untested and probably full of bugs), or it becomes obsolete. In both
cases it will do more harm than good if someone wants to enable it
again.


  Commit: cd04e29e0fee22cfb508e94706df2da319d9222e
      https://github.com/D-Programming-Language/dmd/commit/cd04e29e0fee22cfb508e94706df2da319d9222e
  Author: Brad Roberts <braddr at puremagic.com>
  Date:   2012-10-08 (Mon, 08 Oct 2012)

  Changed paths:
    M src/doc.c
    M src/expression.c
    M src/func.c
    M src/parse.c
    M src/scope.c
    M src/toobj.c
    M src/typinf.c

  Log Message:
  -----------
  Merge pull request #1170 from llucax/deprecation-warnings

Some more cleanups/fixes to deprecation() (and warning() and error()) usage


Compare: https://github.com/D-Programming-Language/dmd/compare/381eec8240dc...cd04e29e0fee


More information about the dmd-internals mailing list