Skip to content

Commit 4ea84c9

Browse files
committed
Add a graceful deprecation
1 parent 8a2cc32 commit 4ea84c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

base/deprecated.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,6 +1514,10 @@ end
15141514
@deprecate_binding uninitialized undef
15151515
@deprecate_binding Uninitialized UndefInitializer
15161516

1517+
# remove broadcast MatrixStyle and VectorStyle (Issue #26430)
1518+
@eval Broadcast Base.@deprecate_binding MatrixStyle DefaultArrayStyle{2} false
1519+
@eval Broadcast Base.@deprecate_binding VectorStyle DefaultArrayStyle{1} false
1520+
15171521
@deprecate showcompact(x) show(IOContext(stdout, :compact => true), x)
15181522
@deprecate showcompact(io, x) show(IOContext(io, :compact => true), x)
15191523
@deprecate sprint(::typeof(showcompact), args...) sprint(show, args...; context=:compact => true)

0 commit comments

Comments
 (0)