Skip to content

Commit

Permalink
Add a test for #9765
Browse files Browse the repository at this point in the history
Fixes #9765 (the correctness fix was part of the fix for #27910)
  • Loading branch information
Keno committed Jul 6, 2018
1 parent 5d5a5b6 commit ae8e95f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6274,3 +6274,8 @@ bar27770() = Nullable27770().value
# Issue 27910
f27910() = ((),)[2]
@test_throws BoundsError f27910()

# Issue 9765
f9765(::Bool) = 1
g9765() = f9765(isa(1, 1))
@test_throws TypeError g9765()

2 comments on commit ae8e95f

@vtjnash
Copy link
Member

@vtjnash vtjnash commented on ae8e95f Jul 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rerunning performance comparison in issue #27539, since I think we've recovered from many of these recent regressions: @nanosoldier runbenchmarks(ALL, vs = "@2ba3fbbd4ffb03eda89c942ce9bc422e265e3c86")

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan

Please sign in to comment.