Skip to content

Commit

Permalink
Make Compat.Fix2 always exist (#521)
Browse files Browse the repository at this point in the history
Following #517 (comment)
  • Loading branch information
garrison authored and fredrikekre committed Mar 21, 2018
1 parent db56c16 commit 294f171
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 294f171

Please sign in to comment.