From 8f59687c6a154e984b69eaa6f8c3bc7aa99db4be Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Fri, 25 Jul 2025 04:01:19 -0500 Subject: [PATCH] Change `==` test for `deepcopy(::QuoteNode)` Nightly became more strict about equality among `QuoteNode`s (https://github.com/JuliaLang/julia/pull/58661). This expands the comparison to circumvent Base's new behavior. --- test/interpret.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/interpret.jl b/test/interpret.jl index 4c99a6e9..e1178d8e 100644 --- a/test/interpret.jl +++ b/test/interpret.jl @@ -559,7 +559,8 @@ end # https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/154 q = QuoteNode([1]) -@test @interpret deepcopy(q) == q +qcopy = @interpret deepcopy(q) +@test isa(qcopy, QuoteNode) && qcopy.value == q.value # Check #args for builtins (#217) f217() = <:(Float64, Float32, Float16)