From 2911ad2a26ec711833afad04278f7ea219b98d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kenta=20Sato=20=28=E4=BD=90=E8=97=A4=20=E5=BB=BA=E5=A4=AA?= =?UTF-8?q?=29?= Date: Mon, 13 Feb 2017 14:00:52 +0900 Subject: [PATCH] Fix 0.6 primitive type declaration depwarn (#47) (#48) --- REQUIRE | 2 +- src/state.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/REQUIRE b/REQUIRE index 4c86824..b6beb06 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,3 +1,3 @@ julia 0.4 -Compat 0.9.5 +Compat 0.17.0 BufferedStreams 0.2.1 diff --git a/src/state.jl b/src/state.jl index fb5a610..b24d194 100644 --- a/src/state.jl +++ b/src/state.jl @@ -1,7 +1,7 @@ # state transition: # initialized => inprogress => finished => finalized -bitstype 8 State +@compat primitive type State 8 end const initialized = reinterpret(State, 0x00) const inprogress = reinterpret(State, 0x01)