From 294f171d42a4aefa7dbc790fd9db88362837ad28 Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Wed, 21 Mar 2018 04:36:00 -0400 Subject: [PATCH] Make Compat.Fix2 always exist (#521) Following https://github.com/JuliaLang/Compat.jl/pull/517#issuecomment-374675232 --- src/Compat.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Compat.jl b/src/Compat.jl index fc633ff88..cb12d5512 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -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"