Skip to content

Commit

Permalink
Add a missing at-test (JuliaLang#39979)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf authored and ElOceanografo committed May 4, 2021
1 parent 8757834 commit 7e31af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/compiler/inference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3095,7 +3095,7 @@ end
@test Base.return_types(f_bare_argument, (Int,))[1] == Int

# issue #39611
Base.return_types((Union{Int,Nothing},)) do x
@test Base.return_types((Union{Int,Nothing},)) do x
if x === nothing || x < 0
return 0
end
Expand Down

0 comments on commit 7e31af1

Please sign in to comment.