Skip to content

Commit

Permalink
Make Compat.Fix2 always exist
Browse files Browse the repository at this point in the history
Following #517 (comment)
  • Loading branch information
garrison committed Mar 21, 2018
1 parent 0c7525e commit 68c2e7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,8 @@ end
else
Base.in(x) = Fix2(in, x)
end
else
import Base: Fix2
end
# keep these definitions to be non breaking for 0.6 usage
@static if VERSION < v"0.7.0-DEV.1993"
Expand Down

0 comments on commit 68c2e7c

Please sign in to comment.