[dmd-internals] [D-Programming-Language/dmd] 0c8646: fix Issue 6963 - pure/nothrow inference doesn't wo...

GitHub noreply at github.com
Thu Nov 8 01:23:08 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 0c86463e012dc6f95d996e0d627ca177a23e730a
      https://github.com/D-Programming-Language/dmd/commit/0c86463e012dc6f95d996e0d627ca177a23e730a
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-11-03 (Sat, 03 Nov 2012)

  Changed paths:
    M src/declaration.c
    M src/expression.c
    M src/init.c
    A test/compilable/bug6963.d

  Log Message:
  -----------
  fix Issue 6963 - pure/nothrow inference doesn't work for function pointers

If the VarDeclaration is not a compile time constant, defer semantic of it's initializer.


  Commit: 0c074ce1b6ff104da1fbcc857be37773ac2fca8b
      https://github.com/D-Programming-Language/dmd/commit/0c074ce1b6ff104da1fbcc857be37773ac2fca8b
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-11-03 (Sat, 03 Nov 2012)

  Changed paths:
    M src/expression.c
    M src/template.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  fix Issue 6356 - Pure/nothrow/@safe-inference failed for a template function if it is instantiated without evaluating at the global scope


  Commit: a8cae622dfa93d98b6a10aa4f869713675c5aff5
      https://github.com/D-Programming-Language/dmd/commit/a8cae622dfa93d98b6a10aa4f869713675c5aff5
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-11-03 (Sat, 03 Nov 2012)

  Changed paths:
    M test/runnable/test7452.d

  Log Message:
  -----------
  fix Issue 6332 - Auto-return function cannot be inferred as @safe


  Commit: 3c683299a4ed4ee11376d2ced9ba31a1219f305f
      https://github.com/D-Programming-Language/dmd/commit/3c683299a4ed4ee11376d2ced9ba31a1219f305f
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-11-03 (Sat, 03 Nov 2012)

  Changed paths:
    M test/runnable/template4.d

  Log Message:
  -----------
  Now, template function attributes are inferred in module level scope, then unsafe calling is blocked.


  Commit: f6a212814630113441a567777a307a197400b922
      https://github.com/D-Programming-Language/dmd/commit/f6a212814630113441a567777a307a197400b922
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2012-11-08 (Thu, 08 Nov 2012)

  Changed paths:
    M src/declaration.c
    M src/expression.c
    M src/init.c
    M src/template.c
    A test/compilable/bug6963.d
    M test/runnable/template4.d
    M test/runnable/test7452.d
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Merge pull request #544 from 9rnsr/fix6963

Issue 6332 & 6356 & 6963 - Ignite pure/nothrow inference for template function


Compare: https://github.com/D-Programming-Language/dmd/compare/04891ca1e554...f6a212814630


More information about the dmd-internals mailing list