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 4ff5ae8 commit 477e47eCopy full SHA for 477e47e
src/signatures.jl
@@ -165,13 +165,10 @@ function identify_framemethod_calls(frame)
165
key = stmt.args[1]
166
key = normalize_defsig(key, frame)
167
if key isa Symbol
168
- if (isdefined(moduleof(frame), key) &&
169
- getfield(moduleof(frame), key) isa Core.MethodTable)
170
- # accept it
171
- else
172
- mi = methodinfos[key]
173
- mi.stop = i
174
- end
+ # XXX A temporary hack to fix https://github.com/JuliaDebug/LoweredCodeUtils.jl/issues/80
+ # We should revisit it.
+ mi = get(methodinfos, key, MethodInfo(1))
+ mi.stop = i
175
elseif key isa Expr # this is a module-scoped call. We don't have to worry about these because they are named
176
continue
177
end
0 commit comments