Skip to content

Commit 294f171

Browse files
garrisonfredrikekre
authored andcommitted
Make Compat.Fix2 always exist (#521)
Following #517 (comment)
1 parent db56c16 commit 294f171

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Compat.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -888,6 +888,8 @@ end
888888
else
889889
Base.in(x) = Fix2(in, x)
890890
end
891+
else
892+
import Base: Fix2
891893
end
892894
# keep these definitions to be non breaking for 0.6 usage
893895
@static if VERSION < v"0.7.0-DEV.1993"

0 commit comments

Comments
 (0)