Skip to content

Commit 46ecd73

Browse files
committed
Remove code specific to Julia v0.6 support
1 parent a268ad4 commit 46ecd73

File tree

5 files changed

+7
-14
lines changed

5 files changed

+7
-14
lines changed

REQUIRE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
julia 0.7
2-
Compat 0.54
32
UnsafeArrays

src/ArraysOfArrays.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ __precompile__(true)
44

55
module ArraysOfArrays
66

7-
using Compat
8-
using Compat.Markdown
9-
using Compat: axes
10-
117
using UnsafeArrays
128

139
include("util.jl")

src/array_of_similar_arrays.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,14 @@ function Base.pop!(V::VectorOfSimilarArrays)
236236
x
237237
end
238238

239-
function Compat.pushfirst!(V::VectorOfSimilarArrays{T,M}, x::AbstractArray{U,M}) where {T,M,U}
239+
function Base.pushfirst!(V::VectorOfSimilarArrays{T,M}, x::AbstractArray{U,M}) where {T,M,U}
240240
size(x) != Base.front(size(V.data)) && throw(DimensionMismatch("Can't push, shape of source and elements of target is incompatible"))
241241
prepend!(V.data, x)
242242
V
243243
end
244244

245245
# Will need equivalent of resize! that resizes in front of data instead of in back:
246-
# Compat.popfirst!(V::ArrayOfSimilarArrays) = ...
246+
# popfirst!(V::ArrayOfSimilarArrays) = ...
247247

248248

249249

test/array_of_similar_arrays.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# This file is a part of ArraysOfArrays.jl, licensed under the MIT License (MIT).
22

33
using ArraysOfArrays
4+
using Test
5+
46
using ElasticArrays
57
using UnsafeArrays
6-
using Compat
7-
using Compat.Test
8-
using Compat.Random
98

109

1110
@testset "array_of_similar_arrays" begin

test/runtests.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# This file is a part of ArraysOfArrays.jl, licensed under the MIT License (MIT).
22

3-
import Compat.Test
4-
Test.@testset "Package ArraysOfArrays" begin
5-
6-
include("array_of_similar_arrays.jl")
3+
using Test
74

5+
Test.@testset "Package ArraysOfArrays" begin
6+
include("array_of_similar_arrays.jl")
87
end

0 commit comments

Comments
 (0)