[phobos] [D-Programming-Language/phobos] a9eb62: fix Issue 11401 - ElementType returns constructor ...

GitHub noreply at github.com
Mon Nov 4 03:37:02 PST 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: a9eb6219b4d03ace4e6688eaeb3dfcd4f90a9faf
      https://github.com/D-Programming-Language/phobos/commit/a9eb6219b4d03ace4e6688eaeb3dfcd4f90a9faf
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-11-03 (Sun, 03 Nov 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  fix Issue 11401 - ElementType returns constructor instead of type

1. For `exp.member`, compiler always try to resolve property/optional parenthesis on `exp`. so use `front.init`.
2. Built-in `init` property always returns rvalue, so `front.init` won't invoke postblit.


  Commit: d743e6caa9c52e53f6bac38fb925d46b65071f78
      https://github.com/D-Programming-Language/phobos/commit/d743e6caa9c52e53f6bac38fb925d46b65071f78
  Author: monarch dodra <monarchdodra at gmail.com>
  Date:   2013-11-04 (Mon, 04 Nov 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Merge pull request #1681 from 9rnsr/fix11401

[REG2.065a] Issue 11401 - ElementType returns constructor instead of type


Compare: https://github.com/D-Programming-Language/phobos/compare/2a0d3d63954e...d743e6caa9c5


More information about the phobos mailing list