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

Bugfix #18073 #18105

Merged
merged 1 commit into from
Aug 18, 2016
Merged

Conversation

dbeach24
Copy link
Contributor

Bugfix and tests for issue with calling any / all on an empty eltype() == Any collection. #18073

@tkelman
Copy link
Contributor

tkelman commented Aug 18, 2016

Could you amend your commit message to be a bit more descriptive?

Add default (true/false) argument to reduce argument so that
any([]) == false and all([]) == true.
(Previously these raised an exception due to reducing an empty list.)
@dbeach24
Copy link
Contributor Author

What happened here? I can't see a relationship between the AppVeyor failure and my PR...

@JeffBezanson
Copy link
Member

Thanks!

@StefanKarpinski StefanKarpinski merged commit d259be5 into JuliaLang:release-0.5 Aug 18, 2016
@Keno
Copy link
Member

Keno commented Aug 18, 2016

Should this have gone directly onto the release branch. cc @tkelman

@JeffBezanson
Copy link
Member

@dbeach24 In the future please don't open PRs against the release branch. The text showing the target branch is small and it's hard to get into the habit of reading it.

@StefanKarpinski
Copy link
Member

Yeah, I didn't notice that at all.

@tkelman
Copy link
Contributor

tkelman commented Aug 19, 2016

At least now github lets us edit that, but you have to catch it before merging.

tkelman pushed a commit that referenced this pull request Aug 19, 2016
fix #18073: `any([])` and `all([])` (#18105)
(cherry picked from commit d259be5)
JeffBezanson added a commit that referenced this pull request Aug 19, 2016
@dbeach24
Copy link
Contributor Author

Sorry for creating more heat than light! In the future I'll create my PRs against master.

@dbeach24 dbeach24 deleted the djcb/bugfix-18073 branch August 20, 2016 03:25
mfasi pushed a commit to mfasi/julia that referenced this pull request Sep 5, 2016
fix JuliaLang#18073: `any([])` and `all([])` (JuliaLang#18105)
(cherry picked from commit d259be5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants