[dmd-internals] [D-Programming-Language/dmd] 8a7813: fix Issue 9091 - Using __traits(getMember) on temp...

GitHub noreply at github.com
Fri Mar 1 01:31:53 PST 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 8a781342c90c0fc93a52876ceb972500a1603d42
      https://github.com/D-Programming-Language/dmd/commit/8a781342c90c0fc93a52876ceb972500a1603d42
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

  Changed paths:
    M src/mtype.c
    M test/runnable/traits.d

  Log Message:
  -----------
  fix Issue 9091 - Using __traits(getMember) on template argument fails inside member function

Use ThisExp instead of VarExp to avoid interpretation on template arguments.


  Commit: 5eba3c8ceb6aaa914349d85d3fa81796fa17f554
      https://github.com/D-Programming-Language/dmd/commit/5eba3c8ceb6aaa914349d85d3fa81796fa17f554
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

  Changed paths:
    M src/e2ir.c
    M src/expression.c
    M src/func.c
    M src/mtype.c
    A test/runnable/testrightthis.d
    M test/runnable/variadic.d

  Log Message:
  -----------
  If a VarExp requires right 'this' but doesn't have it, make it an error

And, distinguish typeof(Type.var) and typeof({ auto x = Type.var; }) by sc->intypeof == 1 or 2.


  Commit: 78c52835a0bd6230932105fe1a3cb4f8fb637770
      https://github.com/D-Programming-Language/dmd/commit/78c52835a0bd6230932105fe1a3cb4f8fb637770
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

  Changed paths:
    M src/mtype.c
    A test/compilable/test3775.d
    R test/fail_compilation/fail345.d

  Log Message:
  -----------
  Use ScopeExp for correct semantic path

Additional fix for Issue 3775 - Segfault(cast.c): casting no-parameter template function using property syntax

Allow using Type.templatefunc as a property


  Commit: eeb834b3a47bc71b4949807f7f46f709d5fcd1a4
      https://github.com/D-Programming-Language/dmd/commit/eeb834b3a47bc71b4949807f7f46f709d5fcd1a4
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

  Changed paths:
    M src/aliasthis.c
    M test/runnable/aliasthis.d
    M test/runnable/testrightthis.d

  Log Message:
  -----------
  Add implicit translation from Type.aliasthis.member to typeof(Type.aliasthis).member

And, add some test cases for 'alias this'.


  Commit: 5f27780ab0e1b893de5a1f2ea4212d5c310128df
      https://github.com/D-Programming-Language/dmd/commit/5f27780ab0e1b893de5a1f2ea4212d5c310128df
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

  Changed paths:
    M src/mtype.c
    M test/runnable/testrightthis.d

  Log Message:
  -----------
  Add backout process from VarExp to DsymbolExp in TypeXXX::resolve


  Commit: 66d505997949178c077a6ab51f31975ce33ad772
      https://github.com/D-Programming-Language/dmd/commit/66d505997949178c077a6ab51f31975ce33ad772
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

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

  Log Message:
  -----------
  fix hasThis for inside mixin


  Commit: 580407cb05ad690b3230d753c9ee66e3bdb13914
      https://github.com/D-Programming-Language/dmd/commit/580407cb05ad690b3230d753c9ee66e3bdb13914
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

  Changed paths:
    M test/runnable/overload.d

  Log Message:
  -----------
  fix Issue 1680 - static struct constructor overloaded with method prevents compilation in inner function


  Commit: 3c17d5c856c793983f06423843e02cd69ccc9128
      https://github.com/D-Programming-Language/dmd/commit/3c17d5c856c793983f06423843e02cd69ccc9128
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

  Changed paths:
    M src/expression.c
    M src/mtype.c
    M test/runnable/aliasthis.d
    M test/runnable/testrightthis.d

  Log Message:
  -----------
  Allow exactly *unreal* VarExp to minimize code breaking


  Commit: 962dca426477f40e8f402c4a582c371442f345e3
      https://github.com/D-Programming-Language/dmd/commit/962dca426477f40e8f402c4a582c371442f345e3
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-02-27 (Wed, 27 Feb 2013)

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

  Log Message:
  -----------
  Fix std.typecons breaking

Add test cases for accessing 'this' from constraint and DeclDefs scope


  Commit: 13e66b662596e5dcb02fe706e7894af53cca14f9
      https://github.com/D-Programming-Language/dmd/commit/13e66b662596e5dcb02fe706e7894af53cca14f9
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-02-28 (Thu, 28 Feb 2013)

  Changed paths:
    M test/runnable/testrightthis.d

  Log Message:
  -----------
  fix Issue 9619 - Failed struct field typeof in inner function


  Commit: 13d637e16763390d73f481d95fa02326b7475bba
      https://github.com/D-Programming-Language/dmd/commit/13d637e16763390d73f481d95fa02326b7475bba
  Author: Walter Bright <walter at walterbright.com>
  Date:   2013-03-01 (Fri, 01 Mar 2013)

  Changed paths:
    M src/aliasthis.c
    M src/e2ir.c
    M src/expression.c
    M src/func.c
    M src/mtype.c
    A test/compilable/test3775.d
    R test/fail_compilation/fail345.d
    M test/runnable/aliasthis.d
    M test/runnable/overload.d
    A test/runnable/testrightthis.d
    M test/runnable/traits.d
    M test/runnable/variadic.d

  Log Message:
  -----------
  Merge pull request #1687 from 9rnsr/fixRightThis

Fix right this check


Compare: https://github.com/D-Programming-Language/dmd/compare/4e6a467d5916...13d637e16763


More information about the dmd-internals mailing list