From 13f50d57e85703842a54bf6bdf9c206383303470 Mon Sep 17 00:00:00 2001 From: Jared Lumpe Date: Thu, 26 May 2022 21:28:54 -0600 Subject: [PATCH] Restore old printnode behavior for potentially large collections --- src/builtins.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/builtins.jl b/src/builtins.jl index c34e359..fa708fd 100644 --- a/src/builtins.jl +++ b/src/builtins.jl @@ -10,3 +10,7 @@ children(p::Pair) = (p[2],) ChildIndexing(::Pair) = IndexedChildren() children(dict::AbstractDict) = pairs(dict) + + +# For potentially-large containers, just show the type +printnode(io::IO, ::T) where T <: Union{AbstractArray, AbstractDict} = print(io, T) \ No newline at end of file