[dmd-internals] [D-Programming-Language/dmd] 6c4f5f: Add test to explain current problematic behavior b...

GitHub via dmd-internals dmd-internals at puremagic.com
Sun Apr 12 00:32:19 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 6c4f5f551066aa2def4a0396da7c21bd6c343058
      https://github.com/D-Programming-Language/dmd/commit/6c4f5f551066aa2def4a0396da7c21bd6c343058
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2015-04-09 (Thu, 09 Apr 2015)

  Changed paths:
    A test/compilable/imports/prot5770.d
    A test/compilable/testprot5770.d

  Log Message:
  -----------
  Add test to explain current problematic behavior before 5770 fix


  Commit: 4cd6985729ae349d869624146c5e57ec1fe8ff2b
      https://github.com/D-Programming-Language/dmd/commit/4cd6985729ae349d869624146c5e57ec1fe8ff2b
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2015-04-09 (Thu, 09 Apr 2015)

  Changed paths:
    M src/access.c
    M src/expression.c
    M src/magicport.json
    M test/compilable/testprot5770.d
    M test/fail_compilation/diag10169.d
    M test/fail_compilation/diag5385.d
    M test/fail_compilation/fail10528.d
    A test/fail_compilation/fail5770.d
    A test/fail_compilation/imports/a5770.d

  Log Message:
  -----------
  fix Issue 5770 - Template constructor bypass access check

It had caused by the incomplete implementation of access check. Most part of `access.c` was old code from ancient D ages.


  Commit: b2e2f80d365728f54f602efa2cb56bdc87c69b7a
      https://github.com/D-Programming-Language/dmd/commit/b2e2f80d365728f54f602efa2cb56bdc87c69b7a
  Author: Walter Bright <walter at walterbright.com>
  Date:   2015-04-12 (Sun, 12 Apr 2015)

  Changed paths:
    M src/access.c
    M src/expression.c
    M src/magicport.json
    A test/compilable/imports/prot5770.d
    A test/compilable/testprot5770.d
    M test/fail_compilation/diag10169.d
    M test/fail_compilation/diag5385.d
    M test/fail_compilation/fail10528.d
    A test/fail_compilation/fail5770.d
    A test/fail_compilation/imports/a5770.d

  Log Message:
  -----------
  Merge pull request #4558 from 9rnsr/fix5770

Issue 5770 - Template constructor bypass access check


Compare: https://github.com/D-Programming-Language/dmd/compare/714d1b32cfe7...b2e2f80d3657


More information about the dmd-internals mailing list