We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29947a4 + 437aa8b commit 318dea1Copy full SHA for 318dea1
src/printing.jl
@@ -196,7 +196,7 @@ function _print_tree(printnode::Function,
196
# Print node representation
197
198
# Get node representation as string
199
- toprint = tree != roottree && isa(roottree, Indexed) ? roottree[tree] : tree
+ toprint = tree !== roottree && isa(treekind(roottree), IndexedTree) ? roottree[tree] : tree
200
str = repr_node(toprint, context=io)
201
202
# Copy buffer to output, prepending prefix to each line
0 commit comments