Skip to content

Commit

Permalink
Drop dependency on Compat.
Browse files Browse the repository at this point in the history
As only julia-0.6 is supported now, Compat is not needed.
  • Loading branch information
traktofon committed Jul 6, 2018
1 parent 9d1e728 commit 27cc03f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion REQUIRE
@@ -1,2 +1 @@
julia 0.6
Compat 0.33
2 changes: 0 additions & 2 deletions src/FortranFiles.jl
Expand Up @@ -2,8 +2,6 @@ __precompile__()

module FortranFiles

using Compat

export FortranFile, rewind
export RECMRK4B, RECMRK8B
export FString, trimstring, trimlen, trim
Expand Down
6 changes: 3 additions & 3 deletions src/types.jl
@@ -1,8 +1,8 @@
import Base: show

@compat abstract type AccessMode end
@compat abstract type RecordMarkerType end
@compat abstract type Record<:IO end
abstract type AccessMode end
abstract type RecordMarkerType end
abstract type Record<:IO end


struct SequentialAccess{RT<:RecordMarkerType} <: AccessMode
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/Makefile
Expand Up @@ -10,7 +10,7 @@ RANDOMOBJ := $(RANDOMEXT:%=random%.o)
GENDATASEQOBJ := $(RANDOMOBJ) randutil.o gendataseq$(SUFFIX).o
GENDATADIRECTOBJ := $(RANDOMOBJ) randutil.o gendatadirect$(SUFFIX).o

JGENSRC := jwrite.jl jread.jl jskip.jl
JGENSRC := jwrite.jl jread.jl jskip.jl jfread.jl
FGENSRC := fdecl.f90 fwrite.f90

gendataseq: gendataseq$(SUFFIX).x
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
@@ -1,6 +1,6 @@
using FortranFiles
using Compat.Test
using Compat.Iterators: product
using Base.Test
using Base.Iterators: product

import FortranFiles: RecordMarkerType, AccessMode, SequentialAccess, DirectAccess

Expand Down

0 comments on commit 27cc03f

Please sign in to comment.