From 3c5411bf64c75085fdff3bae5c06cffdf9cfc774 Mon Sep 17 00:00:00 2001 From: KristofferC Date: Mon, 31 May 2021 17:18:16 +0200 Subject: [PATCH] remove deprecation of getproperty on Pair --- base/deprecated.jl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/base/deprecated.jl b/base/deprecated.jl index d60cc3393662c..2fa4c9e26a939 100644 --- a/base/deprecated.jl +++ b/base/deprecated.jl @@ -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