julia> function g()
Base.@_inline_meta
print("hello")
end
g (generic function with 2 methods)
julia> CodeTracking.definition(String, @which g())
ERROR: BoundsError: attempt to access 2-element Array{Any,1} at index [3]
Stacktrace:
[1] getindex(::Array{Any,1}, ::Int64) at .\array.jl:729
[2] isfuncexpr(::Expr) at C:\Users\Kristoffer\.julia\environments\v1.1\dev\CodeTracking\src\utils.jl:5
[3] definition(::Type{String}, ::Method) at C:\Users\Kristoffer\.julia\environments\v1.1\dev\CodeTracking\src\CodeTracking.jl:204
[4] top-level scope at none:0