[phobos] [D-Programming-Language/phobos] be3a59: prevent ambiguity when calling take with a Take!R

GitHub via phobos phobos at puremagic.com
Thu Jul 17 06:29:33 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: be3a59ecf80129112fab6277342cbf9d0648186e
      https://github.com/D-Programming-Language/phobos/commit/be3a59ecf80129112fab6277342cbf9d0648186e
  Author: John Colvin <john.loughran.colvin at gmail.com>
  Date:   2014-07-17 (Thu, 17 Jul 2014)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  prevent ambiguity when calling take with a Take!R

If Take!R satisfied ```isInputRange!(Unqual!R) && !isInfinite!(Unqual!R) && hasSlicing!(Unqual!R)``` then you would get an ambiguity error calling take!(Take!R)


  Commit: a9fdc506d05c4737baabc9a7648d5067a6858af8
      https://github.com/D-Programming-Language/phobos/commit/a9fdc506d05c4737baabc9a7648d5067a6858af8
  Author: John Colvin <john.loughran.colvin at gmail.com>
  Date:   2014-07-17 (Thu, 17 Jul 2014)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  fix unittest


  Commit: 439ef77c546490b79eba6b1345421c0657147342
      https://github.com/D-Programming-Language/phobos/commit/439ef77c546490b79eba6b1345421c0657147342
  Author: John Colvin <john.loughran.colvin at gmail.com>
  Date:   2014-07-17 (Thu, 17 Jul 2014)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  actually fix the unittest...


  Commit: 5303ca4523c7d1ef6eaf5ca98532f18c84c6f365
      https://github.com/D-Programming-Language/phobos/commit/5303ca4523c7d1ef6eaf5ca98532f18c84c6f365
  Author: Михаил Страшун <public at dicebot.lv>
  Date:   2014-07-17 (Thu, 17 Jul 2014)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Merge pull request #2340 from John-Colvin/patch-9

prevent ambiguity when calling take with a Take!R


Compare: https://github.com/D-Programming-Language/phobos/compare/706e131d243f...5303ca4523c7


More information about the phobos mailing list