Skip to content

Commit 5523674

Browse files
committed
Add a graceful deprecation
1 parent e37c0e0 commit 5523674

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
@@ -1520,6 +1520,10 @@ end
15201520
@deprecate_binding uninitialized undef
15211521
@deprecate_binding Uninitialized UndefInitializer
15221522

1523+
# remove broadcast MatrixStyle and VectorStyle (Issue #26430)
1524+
@eval Broadcast Base.@deprecate_binding MatrixStyle DefaultArrayStyle{2} false
1525+
@eval Broadcast Base.@deprecate_binding VectorStyle DefaultArrayStyle{1} false
1526+
15231527
@deprecate showcompact(x) show(IOContext(stdout, :compact => true), x)
15241528
@deprecate showcompact(io, x) show(IOContext(io, :compact => true), x)
15251529
@deprecate sprint(::typeof(showcompact), args...) sprint(show, args...; context=:compact => true)

0 commit comments

Comments
 (0)