Skip to content

Commit

Permalink
fix docs for determine_method_for_expr
Browse files Browse the repository at this point in the history
fixes #25
  • Loading branch information
KristofferC authored Feb 14, 2019
1 parent f11fee2 commit cbf5b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JuliaInterpreter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ end
framecode, frameargs, lenv, argtypes = determine_method_for_expr(expr; enter_generated = false)
Prepare all the information needed to execute a particular `:call` expression `expr`.
For example, try `JuliaInterpreter.determine_method_for_expr(:(sum([1,2])))`.
For example, try `JuliaInterpreter.determine_method_for_expr(:($(sum)([1,2])))`.
See [`JuliaInterpreter.prepare_call`](@ref) for information about the outputs.
"""
function determine_method_for_expr(expr; enter_generated = false)
Expand Down

0 comments on commit cbf5b25

Please sign in to comment.