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

@iprofile begin generates type error in isfuncexpr

Open mattcbro opened this issue 10 years ago • 1 comments

My code has an @profile begin macro which generates this error:

ERROR: LoadError: LoadError: MethodError: isfuncexpr has no method matching isfuncexpr(::ASCIIString) in include at ./boot.jl:261 in include_from_node1 at ./loading.jl:304 in reload_path at require.jl:120 in _require at require.jl:63 in require at require.jl:47 [inlined code] from deprecated.jl:707 in require at no file:705 in include at ./boot.jl:261 in include_from_node1 at ./loading.jl:304 while loading ..../Optimbeam.jl, in expression starting on line 49

mattcbro avatar Oct 29 '15 06:10 mattcbro

I'm not maintaining this code anymore; I'd be happy to accept a pull request that fixes the problem, but otherwise I recommend the built-in (statistical) profiler instead.

timholy avatar Oct 29 '15 10:10 timholy