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

Cleanup Julia 0.7 deprecations #419

Merged
merged 1 commit into from
Nov 29, 2017
Merged

Cleanup Julia 0.7 deprecations #419

merged 1 commit into from
Nov 29, 2017

Conversation

omus
Copy link
Member

@omus omus commented Nov 28, 2017

Eliminates almost all the deprecations within Compat on Julia 0.7. Changes should be compatible with Julia 0.5 and 0.6 as well.

@omus
Copy link
Member Author

omus commented Nov 28, 2017

I wasn't sure how to take care of these last two warnings on Julia 0.7:

WARNING: the behavior of `A[I...] .= X` with scalar indices will change in the future. Use `A[I...] = X` instead.
Stacktrace:
 [1] depwarn at ./deprecated.jl:68 [inlined]
 [2] dotview(::Array{Int64,1}, ::Int64, ::Vararg{Int64,N} where N) at ./deprecated.jl:1792
 [3] top-level scope at /Users/omus/.julia/v0.7/Compat/test/runtests.jl:434
 [4] include_relative(::Module, ::String) at ./loading.jl:509
 [5] include(::Module, ::String) at ./sysimg.jl:15
 [6] process_options(::Base.JLOptions) at ./client.jl:334
 [7] _start() at ./client.jl:400
in expression starting at /Users/omus/.julia/v0.7/Compat/test/runtests.jl:434
WARNING: the behavior of `A[I...] .= X` with scalar indices will change in the future. Use `A[I...] = X` instead.
Stacktrace:
 [1] depwarn at ./deprecated.jl:68 [inlined]
 [2] dotview(::Array{Int64,1}, ::Int64, ::Vararg{Int64,N} where N) at ./deprecated.jl:1792
 [3] top-level scope at /Users/omus/.julia/v0.7/Compat/test/runtests.jl:461
 [4] include_relative(::Module, ::String) at ./loading.jl:509
 [5] include(::Module, ::String) at ./sysimg.jl:15
 [6] process_options(::Base.JLOptions) at ./client.jl:334
 [7] _start() at ./client.jl:400
in expression starting at /Users/omus/.julia/v0.7/Compat/test/runtests.jl:46

@omus
Copy link
Member Author

omus commented Nov 28, 2017

The CI logs look nice and clean. Just the two warnings I mentioned above remain.

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