Skip to content

Commit

Permalink
Update base/compiler/inferencestate.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Bezanson <jeff.bezanson@gmail.com>
  • Loading branch information
vtjnash and JeffBezanson authored Jan 8, 2024
1 parent a9c6eb2 commit 842c51c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/compiler/inferencestate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ should_insert_coverage(mod::MethodInstance) = should_insert_coverage(mod.def)
should_insert_coverage(mod::Module) = false
function should_insert_coverage(info::DebugInfo)
linetable = info.linetable
linetable === nothing || (should_insert_coverage(should_insert_coverage) && return true)
linetable === nothing || (should_insert_coverage(linetable) && return true)
should_insert_coverage(info.def) && return true
return false
end
Expand Down

0 comments on commit 842c51c

Please sign in to comment.