Skip to content

Commit 1beec11

Browse files
committed
warn on alias change in show
1 parent 99dedb6 commit 1beec11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/show.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ function Base.show(io::IO, @nospecialize(nw::Network))
66
end
77

88
function Base.show(io::IO, ::MIME"text/plain", @nospecialize(nw::Network))
9+
aliased_changed(nw, warn=true)
910
compact = get(io, :compact, false)::Bool
1011
if compact
1112
print(io, "Network ($(nv(nw.im.g)) vertices, $(ne(nw.im.g)) edges)")

0 commit comments

Comments
 (0)