From 98cdf21d4771bbbc3492100bfca0d17063679c3d Mon Sep 17 00:00:00 2001 From: Tamas Nagy Date: Thu, 17 Nov 2016 10:53:20 -0800 Subject: [PATCH] switch to using new Base.Iterators module on v0.6 fixes deprecation warnings on v0.6. see JuliaLang/julia#18839 for more details. --- src/Showoff.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Showoff.jl b/src/Showoff.jl index c7a8141..39e1064 100644 --- a/src/Showoff.jl +++ b/src/Showoff.jl @@ -3,7 +3,11 @@ VERSION >= v"0.4.0-dev+6641" && __precompile__() module Showoff using Compat -using Iterators: drop +if VERSION >= v"0.6.0-dev.1015" + import Base.Iterators: drop +else + import Iterators: drop +end export showoff