Skip to content

Commit 662297f

Browse files
authored
Merge pull request #110 from JuliaIO/yyc/0.6
Fix 0.6 abstract type declaration depwarn
2 parents 15058b1 + 91ec962 commit 662297f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
julia 0.5
2-
Compat 0.9.5
2+
Compat 0.17.0

src/query.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Format registry infrastructure
2-
abstract OS
3-
abstract Unix <: OS
2+
@compat abstract type OS end
3+
@compat abstract type Unix <: OS end
44
immutable Windows <: OS end
55
immutable OSX <: Unix end
66
immutable Linux <: Unix end
@@ -214,7 +214,7 @@ function magic_cmp(t::Tuple, p::Pair)
214214
end
215215

216216

217-
abstract Formatted{F<:DataFormat} # A specific file or stream
217+
@compat abstract type Formatted{F<:DataFormat} end # A specific file or stream
218218

219219
"""
220220
`File(fmt, filename)` indicates that `filename` is a file of known

0 commit comments

Comments
 (0)