Skip to content

Commit

Permalink
Fix Take.back property
Browse files Browse the repository at this point in the history
  • Loading branch information
monarchdodra committed Jan 4, 2014
1 parent 9494fea commit 6bf9133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/range.d
Expand Up @@ -3194,7 +3194,7 @@ if (isInputRange!(Unqual!Range) &&

static if (hasAssignableElements!R)
{
auto back(ElementType!R v)
@property auto back(ElementType!R v)
{
// This has to return auto instead of void because of Bug 4706.
assert(!empty,
Expand Down

0 comments on commit 6bf9133

Please sign in to comment.