[phobos] [D-Programming-Language/phobos] 02c301: Supplemental fix for Issue 8940 - Able to modify c...

GitHub noreply at github.com
Sat Nov 3 05:09:45 PDT 2012


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

  Changed paths:
    M std/datetime.d

  Log Message:
  -----------
  Supplemental fix for Issue 8940 - Able to modify const/immutable with passing to a templated function by `ref`

splitUnitsFromHNSecs accepts ref long, so it should not be called with immutable long.
But' it has been accidentally accepted by issue 8940.


  Commit: 941b46a0cc12ba6f5633c86f06f3acf3fd448e72
      https://github.com/D-Programming-Language/phobos/commit/941b46a0cc12ba6f5633c86f06f3acf3fd448e72
  Author: Alex Rønne Petersen <alex at lycus.org>
  Date:   2012-11-03 (Sat, 03 Nov 2012)

  Changed paths:
    M std/datetime.d

  Log Message:
  -----------
  Merge pull request #921 from 9rnsr/fix8940

Supplemental fix for Issue 8940 - Able to modify const/immutable with passing to a templated function by `ref`


Compare: https://github.com/D-Programming-Language/phobos/compare/f7f8a1fc5c9c...941b46a0cc12


More information about the phobos mailing list