Skip to content

Commit

Permalink
Merge pull request #3648 from 9rnsr/fix15046
Browse files Browse the repository at this point in the history
[REG2.068] Issue 15046 - isForwardRange documentation is documenting issue 14544
  • Loading branch information
DmitryOlshansky committed Sep 12, 2015
2 parents 07ee2eb + 6813eca commit f6c3e03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions std/range/primitives.d
Expand Up @@ -792,7 +792,10 @@ template isForwardRange(R)
static assert(!isForwardRange!(int));
static assert( isForwardRange!(int[]));
static assert( isForwardRange!(inout(int)[]));
}

@safe unittest
{
// BUG 14544
struct R14544
{
Expand Down

0 comments on commit f6c3e03

Please sign in to comment.