Most of time, when I call @which, I'm usually returned with a 
dispatch/method and its location information, like this:
 
@which Domain(-1.1,5.2)
call{T<:Number}(::Type{BasicDecomposition.Domain{T}}, a::T<:Number, b::T<:
Number) at /home/calvin/Documents/git/DomainDecomposition.jl/src/wedge.jl:61

But sometimes, the location of the method is missing, though the correct 
method is given:

julia> @which Decompose(f,I)
Decompose(f::Function, interval::BasicDecomposition.DomainSet{N,T})

Of course, if I call @edit for the same method, an error is thrown saying 
that the location is not determined.

julia> @edit Decompose(f,I)
ERROR: could not determine location of method definition
 in functionloc at reflection.jl:324
 in edit at interactiveutil.jl:63

What could cause such a problem? What should I do if I really want to know 
the location of the method/dispatch?

Reply via email to