From 7ac56b58059011bf3f18bb5517b9e61f3eea8851 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Fri, 29 Mar 2019 15:20:50 +0100 Subject: [PATCH] add a test for calling Meta.parse error (#238) --- test/interpret.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/interpret.jl b/test/interpret.jl index 0779cdef41fc27..7c051ed4a2c3b1 100644 --- a/test/interpret.jl +++ b/test/interpret.jl @@ -479,3 +479,7 @@ catch end compiled_calls = names(JuliaInterpreter.CompiledCalls; all=true) @test any(x -> startswith(string(x), "ccall_clock_libc"), compiled_calls) + +# https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/194 +f() = Meta.lower(Main, Meta.parse("(a=1,0)")) +@test @interpret f() == f() \ No newline at end of file