We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2880ce0 commit f199db0Copy full SHA for f199db0
src/CodeTracking.jl
@@ -30,6 +30,13 @@ is the first line of the method's body.
30
"""
31
function whereis(method::Method)
32
lin = get(method_info, method.sig, nothing)
33
+ if lin === nothing
34
+ f = method_lookup_callback[]
35
+ if f !== nothing
36
+ Base.invokelatest(f, method)
37
+ end
38
+ lin = get(method_info, method.sig, nothing)
39
40
if lin === nothing
41
file, line = String(method.file), method.line
42
else
0 commit comments