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

Fixes for Julia 0.5 #63

Merged
merged 5 commits into from
Aug 11, 2016
Merged

Fixes for Julia 0.5 #63

merged 5 commits into from
Aug 11, 2016

Conversation

timholy
Copy link
Contributor

@timholy timholy commented Aug 11, 2016

This fixes deprecation warnings and errors with Julia 0.5. Getting the tests working was also the occasion for fixing two julia bugs, JuliaLang/julia#17966 and JuliaLang/julia#17968. This won't pass tests on 0.5 until those are backported, but the tests do pass for me locally.

It was clarified in julia issue #17968 that when applying `map` on a dict, the function's return value should always be a Pair. When that's not true, don't use `map`.
@timholy
Copy link
Contributor Author

timholy commented Aug 11, 2016

That second issue has morphed into "don't call map on a Dict unless your function returns a Pair." So I modified this a bit.

@timholy
Copy link
Contributor Author

timholy commented Aug 11, 2016

The travis error was fixed by JuliaLang/julia#17966, but that obviously hasn't made it to nightly yet.

@sglyon
Copy link
Member

sglyon commented Aug 11, 2016

Thanks for doing this!

@sglyon sglyon merged commit cc3c323 into JuliaPlots:master Aug 11, 2016
@sglyon
Copy link
Member

sglyon commented Aug 11, 2016

And I'm happy my tests could expose bugs in base!

@timholy timholy deleted the pull-request/88483ed9 branch August 11, 2016 22:02
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.

2 participants