Skip to content

Commit

Permalink
Deprecations for JuliaIO#652 - generic read
Browse files Browse the repository at this point in the history
  • Loading branch information
jmert committed Sep 11, 2020
1 parent f14331d commit 8e08e44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ function p_create(class, prop1::String, val1, pv...)
props = (prop1, val1, pv...)
return p_create(class; [Symbol(props[i]) => props[i+1] for i in 1:2:length(props)]...)
end

### Changed in PR#652
# - read takes array element type, not Array with eltype
@deprecate read(obj::DatasetOrAttribute, ::Type{A}, I...) where {A<:Array} read(obj, eltype(A), I...)

0 comments on commit 8e08e44

Please sign in to comment.