From 0506c92124432a6fddec4c37fff82ca7c3138543 Mon Sep 17 00:00:00 2001 From: Yichao Yu Date: Sat, 11 Feb 2017 14:19:04 -0500 Subject: [PATCH] Fix 0.6 abstract type declaration depwarn --- REQUIRE | 2 +- src/Parser.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/REQUIRE b/REQUIRE index ce3698b..c7eded8 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,2 +1,2 @@ julia 0.4 -Compat 0.9.5 +Compat 0.17.0 diff --git a/src/Parser.jl b/src/Parser.jl index 94ead53..fd50154 100644 --- a/src/Parser.jl +++ b/src/Parser.jl @@ -19,7 +19,7 @@ Like `isdigit`, but for bytes. """ isjsondigit(b::UInt8) = DIGIT_ZERO ≤ b ≤ DIGIT_NINE -abstract ParserState +@compat abstract type ParserState end type MemoryParserState <: ParserState utf8data::Vector{UInt8}