ASTInterpreter2.jl icon indicating copy to clipboard operation
ASTInterpreter2.jl copied to clipboard

Debugger fails with function handle

Open kuanxu opened this issue 7 years ago • 1 comments

function EvaluateAFunction(f)
  return f(2);
end

x = EvaluateAFunction(x->sin(x))
@enter EvaluateAFunction(x->sin(x))

Running this code snippet in JuliaPro returns an error of AssertionError: arg isa Expr && arg.head == :call. Seems that the debugger can't deal with function handles as argument.

kuanxu avatar Mar 12 '18 17:03 kuanxu

Works with #37

KristofferC avatar Jan 27 '19 13:01 KristofferC