From 6eed2faefadd496da22ea64a1d4bf2e9edc725ee Mon Sep 17 00:00:00 2001 From: Jeff Bezanson Date: Thu, 5 Jul 2018 18:10:06 -0400 Subject: [PATCH] add missing deprecations for `digits` with no `pad` argument --- base/deprecated.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/base/deprecated.jl b/base/deprecated.jl index aed58a8c1d783..3ca57a97587e4 100644 --- a/base/deprecated.jl +++ b/base/deprecated.jl @@ -1440,8 +1440,10 @@ end @deprecate countlines(x, eol) countlines(x, eol = eol) @deprecate PipeBuffer(data, maxsize) PipeBuffer(data, maxsize = maxsize) @deprecate unsafe_wrap(T, pointer, dims, own) unsafe_wrap(T, pointer, dims, own = own) -@deprecate digits(n, base, pad) digits(n, base = base, pad = pad) -@deprecate digits(T, n, base, pad) digits(T, n, base = base, pad = pad) +@deprecate digits(n, base) digits(n, base = base) +@deprecate digits(n, base, pad) digits(n, base = base, pad = pad) +@deprecate digits(T::Type{<:Integer}, n, base) digits(T, n, base = base) +@deprecate digits(T::Type{<:Integer}, n, base, pad) digits(T, n, base = base, pad = pad) #27908 @deprecate ndigits(n, base) ndigits(n, base=base)