From 0d6831619b5f774ea1f82a232f2d9ae846d56010 Mon Sep 17 00:00:00 2001 From: "Bowen S. Zhu" Date: Mon, 24 Jun 2024 13:12:10 -0700 Subject: [PATCH] Qualify source of `head` --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 99af0edaa..aee968077 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -113,7 +113,7 @@ function diff2term(O, O_metadata::Union{Dict, Nothing, Base.ImmutableDict}=nothi d_separator = 'ˍ' if ds === nothing - return maketerm(typeof(O), head(O), map(diff2term, children(O)), + return maketerm(typeof(O), TermInterface.head(O), map(diff2term, children(O)), symtype(O), O_metadata isa Nothing ? metadata(O) : Base.ImmutableDict(metadata(O)..., O_metadata...)) else