Skip to content

Commit beca7c5

Browse files
authored
add a test for deepcopy on QuoteNode (#239)
1 parent 64a2eae commit beca7c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/interpret.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,10 @@ finally
443443
break_off(:error)
444444
end
445445

446+
# https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/154
447+
q = QuoteNode([1])
448+
@test @interpret deepcopy(q) == q
449+
446450
# Check #args for builtins (#217)
447451
f217() = <:(Float64, Float32, Float16)
448452
@test_throws ArgumentError @interpret(f217())

0 commit comments

Comments
 (0)