[dmd-internals] [D-Programming-Language/dmd] 7732ed: Fix subexpression type when converting a CondExp t...

GitHub via dmd-internals dmd-internals at puremagic.com
Sat Apr 4 07:25:13 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 7732ed8020d49ec0096b72d8e1c127a164dd11ac
      https://github.com/D-Programming-Language/dmd/commit/7732ed8020d49ec0096b72d8e1c127a164dd11ac
  Author: Martin <noone at nowhere.com>
  Date:   2015-04-04 (Sat, 04 Apr 2015)

  Changed paths:
    M src/expression.c

  Log Message:
  -----------
  Fix subexpression type when converting a CondExp to an lvalue.

When converting (econd ? e1 : e2) to *(econd ? &e1 : &e2), the
type of the subexpression (econd ? &e1 : &e2) to be dereferenced
is obviously a pointer to the original expression's type instead
of the original type.


  Commit: 94c14ed8cb4101e5e1f6222816917a66600a15b3
      https://github.com/D-Programming-Language/dmd/commit/94c14ed8cb4101e5e1f6222816917a66600a15b3
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2015-04-04 (Sat, 04 Apr 2015)

  Changed paths:
    M src/expression.c

  Log Message:
  -----------
  Merge pull request #4553 from kinke/master

Fix subexpression type when converting a CondExp to an lvalue.


Compare: https://github.com/D-Programming-Language/dmd/compare/91ce437ab510...94c14ed8cb41


More information about the dmd-internals mailing list