Skip to content

Commit

Permalink
remove deprecation of getproperty on Pair
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed May 31, 2021
1 parent ed5cc4e commit 3c5411b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,6 @@ cat_shape(dims, shape::Tuple{}) = () # make sure `cat_shape(dims, ())` do not re

# BEGIN 1.7 deprecations

# the plan is to eventually overload getproperty to access entries of the dict
@noinline function getproperty(x::Pairs, s::Symbol)
depwarn("use values(kwargs) and keys(kwargs) instead of kwargs.data and kwargs.itr", :getproperty, force=true)
return getfield(x, s)
end

# This function was marked as experimental and not exported.
@deprecate catch_stack(task=current_task(); include_bt=true) current_exceptions(task; backtrace=include_bt) false

Expand Down

0 comments on commit 3c5411b

Please sign in to comment.