Skip to content

Commit

Permalink
add a test for calling Meta.parse error (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored Mar 29, 2019
1 parent beca7c5 commit 7ac56b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/interpret.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 7ac56b5

Please sign in to comment.