Skip to content

Commit 76072cb

Browse files
add back Compat
1 parent 30a9a74 commit 76072cb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ version = "5.0.8"
44

55
[deps]
66
ArrayInterfaceCore = "30b0a656-2188-435a-8636-2ec0e6a096e2"
7+
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
78
IfElse = "615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"
89
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
910

1011
[compat]
1112
ArrayInterfaceCore = "0.1"
13+
Compat = "3"
1214
IfElse = "0.1"
1315
Static = "0.6"
1416
julia = "1.6"

src/ArrayInterface.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ using Base: @propagate_inbounds, tail, OneTo, LogicalIndex, Slice, ReinterpretAr
2828

2929
using Base.Iterators: Pairs
3030

31+
import Compat
32+
3133
const CanonicalInt = Union{Int,StaticInt}
3234
canonicalize(x::Integer) = Int(x)
3335
canonicalize(@nospecialize(x::StaticInt)) = x

0 commit comments

Comments
 (0)