Skip to content

Commit c975f2d

Browse files
committed
remove deprecatoin of getproperty on Pair
1 parent ed5cc4e commit c975f2d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

base/deprecated.jl

-6
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,6 @@ cat_shape(dims, shape::Tuple{}) = () # make sure `cat_shape(dims, ())` do not re
244244

245245
# BEGIN 1.7 deprecations
246246

247-
# the plan is to eventually overload getproperty to access entries of the dict
248-
@noinline function getproperty(x::Pairs, s::Symbol)
249-
depwarn("use values(kwargs) and keys(kwargs) instead of kwargs.data and kwargs.itr", :getproperty, force=true)
250-
return getfield(x, s)
251-
end
252-
253247
# This function was marked as experimental and not exported.
254248
@deprecate catch_stack(task=current_task(); include_bt=true) current_exceptions(task; backtrace=include_bt) false
255249

0 commit comments

Comments
 (0)