Skip to content

Commit

Permalink
Merge pull request #22 from JuliaComputing/ct/fix-master-ci
Browse files Browse the repository at this point in the history
Fix test failure on master due to try-catch elision
  • Loading branch information
topolarity authored Oct 23, 2023
2 parents 6dadae5 + 16d2727 commit baa4064
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ using Test

function alloc_in_catch()
try
Base.inferencebarrier(nothing) # Prevent catch from being elided
catch
return Any[] # in catch block: filtered by `ignore_throw=true`
end
Expand Down

0 comments on commit baa4064

Please sign in to comment.