Skip to content

Commit

Permalink
Prevent crash when automatically descending with vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik committed Jun 17, 2023
1 parent b98a6db commit d1f843b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/codeview.jl
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ function descend_into_callsites!(io, type_hints, warn_diagnostics, descended_mis
end
end
for callsite in find_callsites(interp, called_mi, optimize, annotate_source)[1]
descend_into_callsites!(devnull, type_hints, warn_diagnostics, descended_mis, mi, get_mi(callsite); iswarn, hide_type_stable, optimize, type_annotations, annotate_source, interp)
callsite_mi = callsite.info isa MultiCallInfo ? nothing : get_mi(callsite)
descend_into_callsites!(devnull, type_hints, warn_diagnostics, descended_mis, mi, callsite_mi; iswarn, hide_type_stable, optimize, type_annotations, annotate_source, interp)
end
end

Expand Down

0 comments on commit d1f843b

Please sign in to comment.