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

Temporarily add method to work around subtyping bug in Julia 0.6.2 #13

Merged
merged 2 commits into from
Mar 15, 2018

Conversation

andreasnoack
Copy link
Member

@codecov-io
Copy link

codecov-io commented Mar 15, 2018

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #13   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines          38     43    +5     
=====================================
+ Hits           38     43    +5
Impacted Files Coverage Δ
src/IndirectArrays.jl 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b915ef0...e431415. Read the comment docs.

@@ -40,6 +40,16 @@ Base.IndexStyle(::Type{IndirectArray{T,N,A,V}}) where {T,N,A,V} = IndexStyle(A)

Base.copy(A::IndirectArray) = IndirectArray(copy(A.index), copy(A.values))

# This method is only necessary because of a bug in Julia 0.6.2 and can be removed
Copy link
Contributor

Choose a reason for hiding this comment

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

Put this under a VERSION check (with the commit know to fix it)? That way Femtocleaner will remove it automatically.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea. I've done that.

@nalimilan nalimilan merged commit 3f9fc13 into JuliaArrays:master Mar 15, 2018
@nalimilan
Copy link
Contributor

Tagged JuliaLang/METADATA.jl#13841

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.

3 participants