Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue 16363 - Cannot construct a random access range using frontTransversal #4754

Merged
merged 1 commit into from Aug 29, 2016

Conversation

togrue
Copy link
Contributor

@togrue togrue commented Aug 28, 2016

Issue 16363 (Cannot construct a random access range using frontTransversal)
https://issues.dlang.org/show_bug.cgi?id=16291

  • Added length property to frontTransversal (only if the length is known)

@dlang-bot
Copy link
Contributor

Fix Bugzilla Description
16363 Cannot construct a random access range using frontTransversal

@dlang-bot
Copy link
Contributor

@togrue, thanks for your PR! By analyzing the annotation information on this pull request, we identified @andralex, @dsimcha and @monarchdodra to be potential reviewers. @andralex: The PR was automatically assigned to you, please reassign it if you were identified mistakenly.

(The DLang Bot is under development. If you experience any issues, please open an issue at its repo.)

@@ -5752,6 +5752,16 @@ struct FrontTransversal(Ror,
_input[n].front = val;
}
}
/// Ditto
static if(hasLength!RangeOfRanges)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space after if

@andralex
Copy link
Member

Approved after nit, thx

@wilzbach
Copy link
Member

space after if

@togrue CircleCI automatically checks for the style. If you rebase your PR onto upstream, these checks will be run too.

git fetch upstream
git rebase upstream/master

Issue 16363 (Cannot construct a random access range using frontTransversal)
https://issues.dlang.org/show_bug.cgi?id=16291

- Added the length property to frontTransversal (only if the length is known)
@wilzbach wilzbach changed the title Enhancement 16363 Fix issue 16363 - Cannot construct a random access range using frontTransversal Aug 29, 2016
@wilzbach
Copy link
Member

Auto-merge toggled on

@wilzbach wilzbach merged commit 6394458 into dlang:master Aug 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants